ICS Part 2 Computer Science Online Test With Answers

image
image
image

ICS Part 2 Computer Science Online Test

Sr. # Questions Answers Choice
1 Format specifier starts with the symbol # % * all
2 The number of variables that can be used in printf ( ) function are one many three zero
3 -------------------- defines the nature of the relationship cardinality entities modality none of these
4 mendatory optional may be many none of theses
5 Optional is represented by 0 1 2 none of these
6 Relationship are uni-directional bi-directional tri-directional none of these
7 In ERD model, the relationship between two entities is represented by a diamond symbol rectangular box oval symbol line
8 An entity related to itself in an ERD model refers to recursive relationship one-to-many relationship many to many relationship on to one relationship
9 Which of the following key does not hold uniqueness property ? candidate key foreign key primary key Secondary key
10 The operator that needs one operand is called unary binary ternary all
11 C language has --------------------- key words 50 45 32 27
12 Int type variable use -------------------- bytes in memory 2 4 6 8
13 Which type of variable can store real value int long int char Float
14 Which type of variable can store numbers data ? int float double all
15 Which of the following is not a valid variable name ? Roll No Roll No Roll-No Roll #
16 Which of the following cannot be use in variables names? numbers under score alphabets space
17 A row of relation is called attribute entity tuple both a & c
Download This Set