# Technical Questions asked in Co-Cubes

Views:88893
1. What is a the output signal when the input to NOT gate is A=11100?
1. 00000
2. 00011
3. 11111
4. None of these
1. What is function of logic gate?
1. It makes logic decisions
2. It works on binary algebra
3. It alternates between 0 and 1 values
4. None of these
2. What is output of division of (100011)2 by (101)2?
1. 1002
2. 10102
3. 1112
4. 1012
3. Are the expressions arr and &arr same for an array of integers?
Answer: They are not same. They just exist at the same memory location.arr has the type int *,where as &arr has the type int (*)[size].&arr points to the entire array where as arr points to the first element of the array
4. What is the difference between union and structure?
Answer: Structures allocate enough space to store all of the fields in the structure. The first one is stored at the beginning of the structure; the second is stored after that, and so on. Unions only allocate enough space to store the largest field listed, and all fields are stored at the same space i.e. all fields
1. What is a step-by-step procedure used to solve a problem called?
1. algorithm
2. operating system
3. application program
4. all of these