C-CAT Test Paper 1 (Section B)

Sr No Questions Answers
Sr No Questions Answers
01 _______ computers perform the complex processing by directly measuring the discrete physical quantities.

(a) Analog
(b) Digital
(c) Hybrid
(d) Personal
02 _______ is a non-volatile memory chip in which data once stored cannot be altered by programmer.

(a) ROM
(b) PROM
(d) ROM and PROM
03 Modern magnetic tapes use 8 bit ________code format for data recording.

(b) BCD
(d) All of these options
04 The tape of magnetic tape storage is divided into Vertical columns called_________ and horizontal rows is called________.

(a) Channels and Frames
(b) Frames and Channels
(c) Tracks and Frames
(d) Channels and Tracks
05 Which of these is an electronic__________card.

(a) Magnetic Strip Card
(b) Smart Card
(c) ATM Card
(d) Punch Card
06 ________ is a set of control statements and extends processing capability of Computer system.
(a) Application software
(b) System software
(c) Operating system
(d) Utilites
07 Different types of user interfaces include.
(a) System calls
(b) Command language
(c) Job control language
(d) All of these options
08 FAT stands for.
(a) File Allocation Table
(b) File Administration Table
(c) File Available Table
(d) File Allotment Transfer
09 The OSI model has ________ layers.
(b) 6
(c) 7
(d) 10
10 Standard multimedia compression technique is.
(d) All of these options
11 The mechanism of counting the 1 bits of the character bit set and adding a check bit to make the total number of 1 bits even while transferring the data, is referred to as.
(b) Even Parity
(c) Odd Parity
(d) Error Checking
12 The shortcoming of Mark 1 computer is ___________ .
(a)It is very slow
(b) Very complex indesign and huge in size
(c) Unreliable
(d) It is very slow and also very complex in design and huge in size
13 Which of the following are not Hard disk .
(a) Zip disk
(b) Disk packs
(c) Floppy disk
(d) Winchester Disk
14 The unit of measurement of data transfer rate is ______.
(a) Maud
(b) Baud
(c) Bandwidth
(d) None of these options

15 ______is collection of the facts or informational raw material and become information after processing.
(a) Data
(b) Database
(c) Computer
(d) Main Memory
16 Algorithms can be represented in various ways EXCEPT.
17 _____ 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
18 Advantages of using flow charts is.
(a) Effective Analysis
(b) Efficient Coding
(c) Time consuming
(d) Effective Analysis and Efficient Coding
19 The logic used to perform instructions one after another is_______
(a) Selection logic
(b) Sequence logic
(c) End case
(d) None of these options
20 Computer languages are classified as all of the following EXCEPT:
(a) Machine Language
(b) Code language
(c) Assembly language
(d) High level Language
21 Limitation of Machine language are, EXCEPT:
(a) Executed fast by Computer
(b) Difficult to program
(c) Error prone
(d) Machine dependent
22 ________ is true for Syntax error.
(a) It is easier to detect Syntax error compared to logical error
(b) The program cannot be compiled and executed until all syntax errors are corrected
(c) These program error typically involve incorrect Punctuation, undefined terms, no parenthesis etc.
(d) All of these options
23 Program errors are known as ________.
(a) Virus
(b) Bugs
(c) Errors
(d) All of these options
24 Commonly used file organization are:
(a) Sequential
(b) Direct and Random
(c) Indexed Sequential
(d) All of these options
25 3.2 % 3:
(a) 1
(b) 0
(c) 0.2
(d) Error
26 What is o/p If c=10, d=20 ( c&gt d ? printf(" Hi") : printf(" Hello")) ;
(a) Hi
(b) Hello
(c) HiHello
(d) None of these
27 Which of the following are keywords of the C language?i)if   ii)else   iii)then   iv)elseif  
(a) All are keywords
(b) only i,ii and iii are keywords
(c) only i,ii and iv are keywords
(d) only i and ii are keywords
28 _________language that enables users to define there requirements for extracting required information.
(a) Query
(b) Manipulation
(c) DDL
(d) DML
29 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
30 void main() { int arr[10]; printf("%d", sizeof(arr)); getch(); }.
(a) 20
(b) 10
(c) Error
(d) None
31 Following are the rules for naming an identifier except:
(a) Uppercase case letters are not equivalent to lowercase letters
(b) Should not start with a digit but can have digits in between the name
(c) Any letter with - + = sign
(d) Letter starting with _
32 What is output void main() { int n=3, a=2; a*= n+1; printf("%d", a); }
(a) 7
(b) 8
(c) 6
(d) None
33 The keyword _______ breaks the control from while loop.
(a) break
(b) exit
(c) both a and b
(d) None
34 Consider the declaration #include Here the angled brackets indicate
(a) The compiler will search only the standard libraries for the file myfile.h
(b) The compiler will search first the user`s default/ working directory and then the standard libraries for the file myfile.h
(c) The compiler will search only the user`s default/working directory
(d) None of the above.
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 C() { printf("C"); } B() { C(); printf("B"); } A() { printf(" A"); B(); } main() { printf("M"); A(); }
(a) CAMB
(b) MABC
(c) MCAB
(d) MACB
37 which of the following shows the correct hierarchy of arithmetic operations in C
(a) (), **, * or /, + or ?
(b) (), **, *, /, +, -
(c) (), **, /, *, +, -
(d) (), / or *, - or +
38 main() { printf(" C to it that C servies"); main(); }
(a) C to it that C servies infinitely
(b) Compilation Error
(c) Linker Error
(d) C to it that C servies still stack overflow
39 The statement int (* arr [5]) (int *, char *) means
(a) array of pointer to five functions
(b) an integer function taking 5 arrays and returning an char
(c) array of 5 pointer to integers
(d) None of above
40 What error would the following function give on compilation ? f(int a, int b) { int a; a=20; return a; }
(a) Missing parentheses in return statement
(b) The function should be defined as int f ( int a , int b)
(c) Redeclaration of a
(d) None of above
41 If the binary equivalent of 5.375 in normalised form is 0100 0000 1010 1100 0000 0000 0000, 0000 what is the output of the following'C' program ? main() { float a = 5.375; char *p; int i; p=(char*) &a; for(i=0;i<=3;i++) printf("%02x",(unsigned char)p[i] ) ; }
(a) 40 AC 00 00
(b) 00 CA 00 40
(c) 00 00 AC 40
(d) 00 00 CA 04
42 From an ascending priority queue only the_________item can be removed
(a) Largest
(b) Smallest
(c) Rear
(d) Top
43 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
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 The remove operation can only be performed, if the queue is
(a) empty
(b) non empty
(c) overloaded
(d) underflow
47 Stack is constantly changing
(a) element
(b) object
(c) memory location
(d) set of integers
48 In a doubly linked list if a node is to be deleted between two nodes, how many links of the existing list have to be modified?
(a) 2
(b) 4
(c) 3
(d) 1
49 What is the output of the following code? void main() { int i = 100, j = 200; const int *p=&i; p = &j; printf("%d",*p); }
(a) 100
(b) 200
(c) 300
(d) None of the above
50 The value of automatic variable that is declared but not initialized will be
(a) 0
(b) -1
(c) Garbage
(d) None