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 Online Test MCQs With Answers
Question # 1
Which of the following is a loop statement?
Choose an answer
If
If-else
Switch
None
Previous
Skip
Next
Question # 2
Which of the following are valid case statements in a switch?
Choose an answer
Case 1:
Case x<4:
Case 'ab':
Case 1.5:
Previous
Skip
Next
Question # 3
The number of bytes used by long int data type in C is:
Choose an answer
2
4
12
16
Previous
Skip
Next
Question # 4
The type of files from functional point of view include:
Choose an answer
Program file
Data file
a and b
None of these
Previous
Skip
Next
Question # 5
Query is a statement in the SQ that extracts specific:
Choose an answer
Information
File
Application
Wizard
Previous
Skip
Next
Question # 6
How many variables can be used in one printf function?
Choose an answer
One
Two
Many
Ten
Previous
Skip
Next
Question # 7
Every relation should have :
Choose an answer
Primary key
Candidate key
Secondary key
Mutually exclusiveness
Previous
Skip
Next
Question # 8
Which term describes the kind of values that a variable can store?
Choose an answer
Varaible name
Datatype
Varaibletype
Varaiblesize
Previous
Skip
Next
Question # 9
SQL is used for:
Choose an answer
Data definition
Data manipulaton
Data control
All
Previous
Skip
Next
Question # 10
This statement causes a loop to terminate early?
Choose an answer
Break
Terminate
Exit
A and B
Previous
Skip
Next
Question # 11
The SQL statement to create a view is:
Choose an answer
CREATE VIEW
MAKE VIEW
SELECT VIEW
INSERT VIEW
Previous
Skip
Next
Question # 12
In a loop semicolon is placed at the end of condition:
Choose an answer
While
For
Do-while
None of these
Previous
Skip
Next
Question # 13
Which of the following activities are involved in data analysis?
Choose an answer
Data flow diagram
Decision Tables
Decision Trees
All
Previous
Skip
Next
Question # 14
The value of expression in switch statement must be type of
Choose an answer
int
char
float
both a and b
Previous
Skip
Next
Question # 15
In 3NF, a non-key attribute must not depend on a :
Choose an answer
Non-key attribute
Key attribute
Composite key
Sort key
Previous
Skip
Next
Question # 16
Why are validation rules used in a database?
Choose an answer
Ensure correct data is entered
To avoid typing errors
Both A and B
Neither A nor B
Previous
Skip
Next
Question # 17
SQL is
Choose an answer
structure query language
unstructured language
object oriented language
SAM query language
Previous
Skip
Next
Question # 18
The high-level languages are ----------------
Choose an answer
machine depdendent
not machine dependent
expensive
more easier to learn
Previous
Skip
Next
Back