Information Technology
Fundamental concepts in Information Technology including programming, computer architecture, data structures, database systems, and data communication
Questions
Which of the following is not a TCL command?
- Commit
- Savepoint
- Rollback
- Set transaction
- Grant
What is the name/term used for declaration of function inside a calling program?
- Return
- Passing arguments
- Function
- Prototype
- Recursion
Which of the following represents the Reverse Polish Notation?<o:p>
- A + B
-
G/H<o:p></o:p> - AB + -
-
/ + AB - CD<o:p></o:p> -
(A + B)* C<o:p></o:p>
Which one of the following is the fastest memory?
- Virtual memory
- Hard disk
- Magnetic tape
- DVD
- Cache memory
Which of the following operations returns a pointer to the brother of the node, otherwise returns the null pointer?
- Create
- Data
- Brother (sibling)
- Rchild
- EmptyBT
Which one is the best example of unary operator?
- a = a+ 5;
- a = a - 5;
- a = ++a;
- a = a * 5;
- None of these
How structure array elements can be accessed?
- Using FIFO
- Using LIFO
- Using dot operator
- Using index number
- Using base address
What is the main difference between (a) 486 SX and (b) 486 DX family?
- (b) has numeric co-processor but (a) does not have it.
- (a) contains catch controller but (b) does not have it.
- (a) has numeric co-processor but (b) does not have it.
- (b) has catch controller but (a) does not have it.
- None of these
Which type of error can be diagnosed by compiler?
- Program error
- User error
- Logical error
- Syntax error
- None of these
When int array [7] is declared, the term array [5] represents
- five elements of array
- 5th element of array
- 6th element of array
- base address of array
- none of these
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?
- Sector sparing
- Sector replacing
- Sector segregation
- Sector elimination
- Sector slipping
What is fundamental and conceptual unit in computer?
- Floppy
- Hard drive
- OS
- CPU
- IC
Expand MAR in terms of memory.
- Memory Active Register
- Memory Address Register
- Memory Access Register
- Memory Access Rate
- Memory Address Rate
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);
}
- There is no error and program will execute normally.
- Preprocessor directives are not used in the program.
- A function cannot be declared above main.
- Return statement should not be used with conditional operators.
- None of the above
Where is the Hamming code used?
- Programming code
- Pseudo code
- Data communication
- AutoCAD
- Input/Output