CS201 QUIZ NO 1 SOLVED SPRING 2019 FILE 4 || 100% VERIFIED|| VURANK

CS201 QUIZ NO 1 SOLVED 100% VERIFIED BY ADMIN (MID TERM SYLLABUS)

Q1: eof is used to check for the __________ of file when a file is being read.
A) Start
B) End (100% Sure)
C) Middle
D) Name

Q2: The ASCHI code of null character is __________.
A) 000 (100% Sure)
B) 010
C) 111
D) 110

Q3: __________ contains functions for manipulations of character data.
A) ctype.h (100% Sure)
B) iostream.h
C) string.h
D) None of the given

Q4: At the design phase, we try to break up the problem into __________.
A) functional units (100% Sure)
B) non-functional units
C) small units
D) None of the given

Q5: From the following; hich one is the correct syntax of an array declaration: array size 5 and it is of float data type?
A) float [5] name;
B) name [5] float;
C) float name[5]; (100% Sure)
D) None of the given options

Q6: char name [] ="Hello World";
In the above statement, a memory of __________ charaters will be allocated.
A) 13
B) 11
C) 12 (100% Sure)
D) 10

Q7: Each array declaration must provide the information about all these things expect __________.
A) Name of the array
B) Type of data stored in the array
C) The location of the first element to be stored (100% Sure)
D) Number of elements of the array

Q8: When we access a multidimensional array, each array index is surrounded by __________.
A) Single quotes ''
B) Double quotes ""
C) Brackets [] (100% Sure)
D) Commas ,,

Q9: In the case of pointer to pointer or __________, the first pointer contains the address of the second pointer, which contains the address of the variable, which contains the desired value.
A) double dereference (100% Sure)
B) Single dereference
C) Different
D) float and double

Q10: Whenever some number is added in an array name, it will jump as many __________ as the added number.
A) rows (100% Sure)
B) value
C) column
D) None of the given