More Classes
5th Class
6th Class
7th Class
8th Class
9th Class
10th Class
11th Class
12th Class
NAT I
NAT II
CSS
IQ
General Knowledge
MDCAT
ECAT
GAT General
GAT Subject
Other Links
Go to Home
Online Tests
Computer Science Ics Part 2 Chapter 2 Online Test MCQs With Answers
Question # 1
The operator that needs one operand is called
Choose an answer
unary
binary
ternary
all
Previous
Skip
Next
Question # 2
The functions that are defined by programmer are called:
Choose an answer
User-defined
Subprograms
Subroutines
Built-in functions
Previous
Skip
Next
Question # 3
Which escape sequence can be used to begin a new line in C-language?
Choose an answer
\a
\b
\n
\n
Previous
Skip
Next
Question # 4
A relation is also known as:
Choose an answer
Table
Tuple
Relationship
Attributes
Previous
Skip
Next
Question # 5
A table most has
Choose an answer
primary key
secondary key
composite key
sort key
Previous
Skip
Next
Question # 6
All the intersection of rows and columns must have:
Choose an answer
Single value
Constant value
Multiple values
No value
Previous
Skip
Next
Question # 7
Which is a loop statement?
Choose an answer
If
If-else
Switch
None of these
Previous
Skip
Next
Question # 8
SQL is used for:
Choose an answer
Data definition
Data manipulaton
Data control
All
Previous
Skip
Next
Question # 9
The symbol '=' represents:
Choose an answer
Comparison operator
Assignment operator
Equal to operator
None of these
Previous
Skip
Next
Question # 10
CREATE command is used to create:
Choose an answer
Record
View
Report
Query
Previous
Skip
Next
Question # 11
A table is a two-dimensional structure that consists of:
Choose an answer
x and y co-ordinates
Matrix elements
Rows and columns
Intersection of data
Previous
Skip
Next
Question # 12
Views are also called:
Choose an answer
Complex tables
Simple tables
Virtual tables
Actual tables
Previous
Skip
Next
Question # 13
C language has --------------------- key words
Choose an answer
50
45
32
27
Previous
Skip
Next
Question # 14
An attribute is also known as
Choose an answer
table
elation
row
field
Previous
Skip
Next
Question # 15
Which type of variable can store numbers data ?
Choose an answer
int
float
double
all
Previous
Skip
Next
Question # 16
The last statement of each case in switch must be a:
Choose an answer
Default statement
If-else statement
Break statement
Else statement
Previous
Skip
Next
Question # 17
A person, place, thing or event about which data is kept in the database is called:
Choose an answer
Attribute
Field
Record
Entity
Previous
Skip
Next
Back