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

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

Q1: The parameter passed to isdigit() function is __________ variable.
A) Character
B) Boolean
C) Integer (100% Sure)
D) Float

Q2: We must include the header file __________ to convert the value of one type into another type using built-in functions.
A) conio.h
B) stdlib.h (100% Sure)
C) string.h
D) iostream.h

Q3: A record is a group of related __________.
A) Data
B) Fields (100% Sure)
C) Bytes
D) Files

Q4: A __________ is an array of characters that can store number of character specified.
A) Char
B) String (100% Sure)
C) Multidimensional array
D) Data type

Q5: To manipulate n-dimensional array __________ nested loops are required.
A) n-2
B) n-1
C) n+1
D) n (100% Sure)

Q6: How we declare an array of integer data whose size is 20 with array name "count".
A) int count[19];
B) int count[20]; (100% Sure)
C) float count[20];
D) int count[21];

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

Q8: The statement cout<< yptr will show the __________ yptr points to.
A) Value
B) memory address (100% Sure)
C) Variable
D) None of the given

Q9: By default, the starting index of an array in C++ is __________.
A) 2
B) -1
C) 0 (100% Sure)
D) 1

Q10: Which header file must be included to use the functions tolower() an toupper()?
A) iostream.h
B) conio.h
C) ctype.h (100% Sure)
D) stdlib.h