C-CAT Test Paper 3 (Section B)

01)_______ is a non-volatile memory chip in which data once stored cannot be altered by programmer.
(a) ROM
(b) PROM
(c) EPROM
(d) ROM and PROM

02)The Calculations & decision making is done in.
(a) Control Unit
(b) ALU
(c) RAM
(d) Control Unit and ALU

03)Modern magnetic tapes use 8 bit ________code format for data recording.
(a) EBCDIC
(b) BCD
(c) ASCII
(d) All of these options


04)Magnetic disk is a ________ storage device.
(a) Direct access
(b) Indirect access
(c) Random access
(d) None of these options

05)Which of the following are of type Optical Disk:.
(a) CD-ROM
(b) WORM
(c) CD-ROM and WORM
(d) Zip disk


06)Collection of Programs is.
(a) Software
(b) Instructions
(c) Hardware
(d) Procedure

07)________ is used by operating system to map file names to their corresponding file attributes and file data, and also to provide greater flexibility to users in file naming
(a) Directories
(b) Diary
(c) Paging
(d) File


08)FAT stands for.
(a) File Allocation Table
(b) File Administration Table
(c) File Available Table
(d) File Allotment Transfer

09)Which of these keys belong to QWERTY keyboard.
(a) Numeric Keypad
(b) Numbers
(c) Alphanumeric Keys
(d) All of these options

10)_________ terminal is a graphics terminal that has a rich set of terminals.
(a) Intelligent terminal
(b) X terminal
(c) Dumb terminal
(d) Smart terminal

11)The fastest computers of today`s era is________.
(a) microcomputers
(b) super computer
(c) Pentium 3
(d) mini computer


12)Which of the following is true in regard to Work station.
(a) It is a powerful desktop computer designed to meet greater processing power, large storage etc.
(b) It is not used for computer aided design
(c) They can be used by several personnel at a time
(d) All of these options

13)Rules that govern transmission of data over communication network is__________.
(a) Router
(b) Topology
(c) Prototype
(d) Protocol

14)The periodic refreshing of ____________ RAM is required.
(a) STATIC
(b) DRAM
(c) STATIC and DRAM
(d) None of these options


15)A value written into a program instruction that does not change during the execution of program..
(a) Identifiers
(b) Constants
(c) Objects
(d) Operators

16)_____ contains the addresses of all the records according to the contents of the field designed as the record key.
(a) Index
(b) Subscript
(c) Array
(d) File


17)The flowcharts used to describe the sequence of operations for a particular problem is called.
(a) System flowcharts
(b) Program flowcharts
(c) Activity flowcharts
(d) None of these options

18)The method of carrying out the instructions given in the flowchart with some sample data is known as
(a) Tracking
(b) Tracing
(c) Executing
(d) Tracking and Tracing


19)Language wherein Encapsulation and Abstraction of data is done is called as
(a) Assembly Language
(b) Object oriented programming Language
(c) Pascal language
(d) Cobol

20)Language Primarily used for internet-based applications
(a) ADA
(b) C++
(c) JAVA
(d) FORTRAN

21)_________is not true related to Debugging.
(a) Process which should be planned and scheduled properly.
(b) It is complete when all desired verification s against specifications are done.
(c) It is process of validating the correctness of program.
(d) All of these options.

22)Program errors are known as ________.
(a) Virus
(b) Bugs
(c) Errors
(d) All of these options


23)Program errors are known as ________.
(a) Virus
(b) Bugs
(c) Errors
(d) All of these options

24)Standard methods of organizing data are:
(a) File-oriented approach
(b) Database-oriented approach
(c) File-oriented approach and Database-oriented approach
(d) Object Oriented approach

25)The component of data base management system is ________
(a) Data definition Language
(b) Data manipulation Language
(c) Data definition Language and Data manipulation Language
(d) None of these options


26)which of the following is NOT a character constant
(a) `Thank You`
(b) `enter values of p n r`
(c) `23.56e-03`
(d) all of the above


27)Every C program requires :
(a) char
(b) statement
(c) arithmetic operator
(d) main () function


28)void main() { float x[2][3]={{1.1,1.2,1.3}, {2.1,2.2,2.3}}; printf("%1.1f", *(*(x+1))); }
(a) 1.1
(b) 2.3
(c) 2.1
(d) 2.2


29)the process of compiling and running a C program includes:
(a) Source program
(b) object code
(c) executable object code
(d) all of the above


30)A continue usually associated with __________.
(a) goto
(b) Else
(c) If
(d) None


31)(int) 21.3/ (int) 4.5 ;
(a) 5
(b) 1
(c) 0
(d) none


32)C language came into existence in the year
(a) 1971
(b) 1958
(c) 1972
(d) 1983


33)A max width of c variable name can be
(a) OS-Dependent
(b) Compiler-dependent
(c) OS-Dependent and Compiler-dependent
(d) 32 char


34) void main() { while(1) printf(" sunc"); }
(a) The condition in while loop is illegal.
(b) Sunc will be printed once.
(c) The while loop is an infinite loop.
(d) A linker error is generated.


35)main() { printf(" \n Hello"); disp(); } disp() { printf(" \n Hi"); main(); }
(a) Hi
(b) Hello
(c) Hello Hi Infinite no of times
(d) Hello Hi still stack overflow


36)main() { char ch= 'A'; printf("%d%d", sizeof(ch) ,sizeof('A')); }
(a) 1 1
(b) 1 2
(c) 2 2
(d) Error


37)which of the following statement is wrong
(a) mes = 123.56;
(b) con = `T` * `A`
(c) this = `T` * 20;
(d) 3 + a = b;


38)void main() { float a=0.7; if(a< 0.7) printf("c"); else printf("c++"); }
(a) C
(b) C++
(c) C C++
(d) None


39)Unions are different than structures in that
(a) union contents are not members
(b) union members use the same space
(c) union members are anonymous
(d) All of above


40)Which of the following statement is correct regarding arrays ?
i Array elements are stored in contiguous memory locations.
ii The size of the array can be mentioned anywhere in the program
iii In an array'arr' the expression arr[i] refers to the i + 1th element in the array.
(a) i, ii and iii
(b) i only
(c) i and iii
(d) none of the above


41)The output of the following program will be ::- main() { int a, *ptr,b,c; a=25; ptr = &a; b= a+30; c= *ptr; printf(" %d, %d, %d ", a, b, c); }
(a) 25, 55, 25
(b) 25, 25, 25
(c) 25, 55, 55
(d) none of these


42)Stack is constantly changing
(a) element
(b) object
(c) memory location
(d) set of integers


43)A linked list can have member node, which has
(a) An elementary data item
(b) A next pointer
(c) A list
(d) All of the above

44)Consider the program segment given below. (The numbers represent program line numbers) : 1. #include 2. int y; 3. void main() 4.{ 5. int x,*px,**px; 6. x = 10; 7. y = 1000; 8. px = &x; 9. ppx = &px; 10. f3(ppx); 11. printf("%d",*px); 12.} 13.void f3(int **pp) 14.{ 15. *pp = &y; 16. printf("%d",**pp); 17.} The printf() at line 11 prints the value :
(a)10
(b) 100
(c) 1000
(d) 20


45)A stack in c is declared as a ____ containing two objects
(a) array
(b) structure
(c) group
(d) collection of element


46)If there are no element in stack empty(s) returns as the value
(a) TRUE
(b) 1
(c) FALSE
(d) 0


47)Interpret the following statement :
void(*b)(int *);
(a) b is a pointer to a function which takes a pointer to an int and returns a void.
(b) invalid statement
(c) b is a pointer to a void which can be typecast as a pointer to int.
(d) b is a pointer of type int which is a pointer to a void


48)Consider the following statements. i. stack is a LIFO ii. stack is a FIFO iii. queue is a LIFO iv. queue is a FIFO
(a) only i and iii are true
(b) only ii and iii are true
(c) only i and iv are true
(d) only ii and iv are true


49)If stack contain no item then it is called as ___
(a) Null stack
(b) Empty stack
(c) Waste stack
(d) Stack of no use


50)In doubly link list each node contain ______
(a) two information node
(b) two pointer
(c) two nodes
(d) double header