Information Technology

Fundamental concepts in Information Technology including programming, computer architecture, data structures, database systems, and data communication

15 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following is not a TCL command?

  1. Commit
  2. Savepoint
  3. Rollback
  4. Set transaction
  5. Grant
Question 2 Multiple Choice (Single Answer)

What is the name/term used for declaration of function inside a calling program?

  1. Return
  2. Passing arguments
  3. Function
  4. Prototype
  5. Recursion
Question 3 Multiple Choice (Single Answer)

Which of the following represents the Reverse Polish Notation?<o:p>

  1. A + B

  2. G/H<o:p></o:p>
  3. AB + -

  4. / + AB - CD<o:p></o:p>

  5. (A + B)* C<o:p></o:p>
Question 4 Multiple Choice (Single Answer)

Which one of the following is the fastest memory?

  1. Virtual memory
  2. Hard disk
  3. Magnetic tape
  4. DVD
  5. Cache memory
Question 5 Multiple Choice (Single Answer)

Which of the following operations returns a pointer to the brother of the node, otherwise returns the null pointer?

  1. Create
  2. Data
  3. Brother (sibling)
  4. Rchild
  5. EmptyBT
Question 6 Multiple Choice (Single Answer)

Which one is the best example of unary operator?

  1. a = a+ 5;
  2. a = a - 5;
  3. a = ++a;
  4. a = a * 5;
  5. None of these
Question 7 Multiple Choice (Single Answer)

How structure array elements can be accessed?

  1. Using FIFO
  2. Using LIFO
  3. Using dot operator
  4. Using index number
  5. Using base address
Question 8 Multiple Choice (Single Answer)

What is the main difference between (a) 486 SX and (b) 486 DX family?

  1. (b) has numeric co-processor but (a) does not have it.
  2. (a) contains catch controller but (b) does not have it.
  3. (a) has numeric co-processor but (b) does not have it.
  4. (b) has catch controller but (a) does not have it.
  5. None of these
Question 9 Multiple Choice (Single Answer)

Which type of error can be diagnosed by compiler?

  1. Program error
  2. User error
  3. Logical error
  4. Syntax error
  5. None of these
Question 10 Multiple Choice (Single Answer)

When int array [7] is declared, the term array [5] represents

  1. five elements of array
  2. 5th element of array
  3. 6th element of array
  4. base address of array
  5. none of these
Question 11 Multiple Choice (Single Answer)

What is the name of the scheme used to replace every bad sector, using disk controller, logically with one of the available spare sectors in the disk?

  1. Sector sparing
  2. Sector replacing
  3. Sector segregation
  4. Sector elimination
  5. Sector slipping
Question 12 Multiple Choice (Single Answer)

What is fundamental and conceptual unit in computer?

  1. Floppy
  2. Hard drive
  3. OS
  4. CPU
  5. IC
Question 13 Multiple Choice (Single Answer)

Expand MAR in terms of memory.

  1. Memory Active Register
  2. Memory Address Register
  3. Memory Access Register
  4. Memory Access Rate
  5. Memory Address Rate
Question 14 Multiple Choice (Single Answer)

Find the error in the code assuming that preprocessor directives are correct.
int fun (int val)
{
val > 20?
return(15):
return(30);
}
void main( )
{
int fun( int );
int final;
final = fun (20);
printf("%dn", final);
}

  1. There is no error and program will execute normally.
  2. Preprocessor directives are not used in the program.
  3. A function cannot be declared above main.
  4. Return statement should not be used with conditional operators.
  5. None of the above
Question 15 Multiple Choice (Single Answer)

Where is the Hamming code used?

  1. Programming code
  2. Pseudo code
  3. Data communication
  4. AutoCAD
  5. Input/Output