C-CAT Test Paper 3 (Section B) C-CAT Test Paper 3 (Section B)
01)_______ is a non-volatile memory chip in which data once
01)_______ is a non-volatile memory chip in which data once stored cannot be alstored cannot be al tered by programmer. tered by programmer. (a) ROM (a) ROM (b) PROM (b) PROM (c) EPROM (c) EPROM
(d) ROM and PROM (d) ROM and PROM Show Ans Hide Ans Show Ans Hide Ans
02)The Calculations & decision making is done in. 02)The Calculations & decision making is done in. (a) Control Unit
(a) Control Unit (b) ALU
(b) ALU (c) RAM (c) RAM
(d) Control Unit and ALU (d) Control Unit and ALU Show Ans Hide Ans
Show Ans Hide Ans
03)Modern magnetic tapes use 8 bit ________code format for data recording. 03)Modern magnetic tapes use 8 bit ________code format for data recording. (a) EBCDIC (a) EBCDIC (b) BCD (b) BCD (c) ASCII (c) ASCII
(d) All of these options (d) All of these options Show Ans Hide Ans
Show Ans Hide Ans
04)Magnetic disk is a ________ storage device. 04)Magnetic disk is a ________ storage device. (a) Direct access
(a) Direct access (b) Indirect access (b) Indirect access (c) Random access (c) Random access
(d) None of these options (d) None of these options Show Ans Hide Ans
Show Ans Hide Ans
05)Which of the following are of type Optical Disk:. 05)Which of the following are of type Optical Disk:. (a) CD-ROM
(a) CD-ROM (b) WORM (b) WORM
(c) CD-ROM and WORM (c) CD-ROM and WORM (d) Zip disk
(d) Zip disk
Show Ans Hide Ans Show Ans Hide Ans
06)Collection of Programs is. 06)Collection of Programs is. (a) Software (a) Software (b) Instructions (b) Instructions (c) Hardware (c) Hardware (d) Procedure (d) Procedure Show Ans Hide Ans Show Ans Hide Ans
07)________ is used by operating system to map file
07)________ is used by operating system to map file names to their correspondinnames to their correspondin g file attributes and file data, and also to
g file attributes and file data, and also to provide greater flexibility to userprovide greater flexibility to user s in file naming
s in file naming (a) Directories (a) Directories
(b) Diary (c) Paging (d) File
Show Ans Hide Ans
08)FAT stands for.
(a) File Allocation Table (b) File Administration Table (c) File Available Table
(d) File Allotment Transfer Show Ans Hide Ans
09)Which of these keys belong to QWERTY keyboard. (a) Numeric Keypad
(b) Numbers
(c) Alphanumeric Keys (d) All of these options Show Ans Hide Ans
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 Show Ans Hide Ans
11)The fastest computers of today`s era is________. (a) microcomputers
(b) super computer (c) Pentium 3
(d) mini computer Show Ans Hide Ans
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
Show Ans Hide Ans
13)Rules that govern transmission of data over communication network is________ __.
(a) Router (b) Topology (c) Prototype (d) Protocol
Show Ans Hide Ans
(b) DRAM
(c) STATIC and DRAM
(d) None of these options Show Ans Hide Ans
15)A value written into a program instruction that does not change during the e xecution of program..
(a) Identifiers (b) Constants (c) Objects (d) Operators Show Ans Hide Ans
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
Show Ans Hide Ans
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 Show Ans Hide Ans
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 Show Ans Hide Ans
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
Show Ans Hide Ans
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 do ne.
(c) It is process of validating the correctness of program. (d) All of these options.
Show Ans Hide Ans
22)Program errors are known as ________. (a) Virus
(b) Bugs (c) Errors
(d) All of these options Show Ans Hide Ans
23)Program errors are known as ________. (a) Virus
(b) Bugs (c) Errors
(d) All of these options Show Ans Hide Ans
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
Show Ans Hide Ans
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
Show Ans Hide Ans
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 Show Ans Hide Ans
27)Every C program requires : (a) char
(b) statement
(c) arithmetic operator (d) main () function Show Ans Hide Ans
28)void main() { float x[2][3]={{1.1,1.2,1.3}, {2.1,2.2,2.3}}; printf("%1.1f", *(*(x+1))); }
(c) 2.1 (d) 2.2
Show Ans Hide Ans
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
Show Ans Hide Ans
30)A continue usually associated with __________. (a) goto
(b) Else (c) If (d) None
Show Ans Hide Ans
31)(int) 21.3/ (int) 4.5 ; (a) 5
(b) 1 (c) 0 (d) none
Show Ans Hide Ans
32)C language came into existence in the year (a) 1971
(b) 1958 (c) 1972 (d) 1983
Show Ans Hide Ans
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
Show Ans Hide Ans
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.
Show Ans Hide Ans
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 Show Ans Hide Ans
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;
Show Ans Hide Ans
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
Show Ans Hide Ans
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 Show Ans Hide Ans
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 Show Ans Hide Ans
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 Show Ans Hide Ans
42)Stack is constantly changing (a) element
(b) object
(c) memory location (d) set of integers Show Ans Hide Ans
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 Show Ans Hide Ans
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 = 1 0; 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 :
(b) 100 (c) 1000 (d) 20
Show Ans Hide Ans
45)A stack in c is declared as a ____ containing two objects (a) array
(b) structure (c) group
(d) collection of element Show Ans Hide Ans
46)If there are no element in stack empty(s) returns as the value (a) TRUE
(b) 1 (c) FALSE (d) 0
Show Ans Hide Ans
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 v oid.
(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
Show Ans Hide Ans
48)Consider the following statements. i. stack is a LIFO ii. stack is a FIFO ii i. 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 Show Ans Hide Ans
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 Show Ans Hide Ans
50)In doubly link list each node contain ______ (a) two information node
(b) two pointer (c) two nodes (d) double header Show Ans Hide Ans