ICS Part 2 Computer Science Online Test With Answers

image
image
image

ICS Part 2 Computer Science Online Test

Sr. # Questions Answers Choice
1 Switch statement must use the keyword Case Default Break All of the above
2 From the following which is called control statement If If-else Else-if All of the above
3 A key in a relation May not functionally determine any attribute in the row Functionally determine only one attribute in the row Functionally determine at least one attribute in the row Functionally determine all the attribute in the row
4 Database integrity refers to the Correctness of data Consistency of data Both a and b None of these
5 _______ is created when the same name is used for two different attributes Synonyms Homonyms Redundant information Mutually  exclusive data
6 When we make any modification in a relation it is called Insertion anomaly Deletion anomaly Modification anomaly Both a and b
7 In 3NF a non-key attribute must not depend on a Non-key attribute Key attribute Composite key Sort key
8 ______is a functional dependency in a relation between two or more non-key attributes Transitive dependency Partial dependency Repeating groups None of these
9 To be in 2NF every non key attribute must depend on Key All parts of the key Composite key Both a and b
10 An advantages of partitioning is Efficiency Extra space and update time Both a & b None of them
11 The number of variables that can be used in printf ( ) function are One Many Three Zero
12 Print() function can show Text Value of variable Constants All
13 The function used to show the output on screen is Printf() Scanf() Sqrt() Main()
14 The header file that contains input and output functions is Math.h Graphic.h Stdio.h Conio.h
15 The function used to input data in C program is Print () Scanf () Sqrt () Main ()
16 The format specifier  % d is used for Int Unsigned short Unsigned float Unsigned long int
17 The escape sequence for backspace is \ \b \\ \t
Download This Set