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
The function getche() is defined in:
Choose an answer
stdio.h
conio.h
string.h
math.h
Previous
Skip
Next
Question # 2
In which loop the condition comes after the body of the loop?
Choose an answer
While loop
Do-while loop
For loop
B and C
Previous
Skip
Next
Question # 3
Which is NOT a rule for naming variables?
Choose an answer
Use a descriptive name for the value
Start the name of variable with a letter
Use nothing but letters, digits, or the underscore character
All the above
Previous
Skip
Next
Question # 4
A for statement contains three expressions: Initialization, test and:
Choose an answer
Assignment
Validation
Increment / decrement
All
Previous
Skip
Next
Question # 5
A form that contains a sub form is called:
Choose an answer
Form
Main form
Report
None
Previous
Skip
Next
Question # 6
How many types of relationship are there?
Choose an answer
2
3
4
5
Previous
Skip
Next
Question # 7
How many types of loop structure are available in C language?
Choose an answer
While
Do-while
For
All
Previous
Skip
Next
Question # 8
We can make two way decisions with the help of
Choose an answer
if
nested
if-else
all
Previous
Skip
Next
Question # 9
The high-level languages are ----------------
Choose an answer
machine depdendent
not machine dependent
expensive
more easier to learn
Previous
Skip
Next
Question # 10
An attribute is also known as:
Choose an answer
Table
Field
Row
Relation
Previous
Skip
Next
Question # 11
SQL stands for:
Choose an answer
Sort Query Language
Self Query language
Seek Query language
Structured Query Language
Previous
Skip
Next
Question # 12
What happens when the result of a calculation exceeds the capacity of data type?
Choose an answer
System error
Logic error
Syntax error
Over flow
Previous
Skip
Next
Question # 13
_______ function is used to copy a string to an array of characters
Choose an answer
fputs()
Strepy
fgets
gets()
Previous
Skip
Next
Question # 14
Which option in MS Access is used to create a new database form scratch?
Choose an answer
Access template
Blank database
Existing databse
New folder
Previous
Skip
Next
Question # 15
Which file contains the program after translation into machine language?
Choose an answer
Object file
Exe file
Source file
None
Previous
Skip
Next
Question # 16
Two or more attributes with different name but same meaning create a problem:
Choose an answer
Homonyms
Synonyms
Aliases
Alternate attributes
Previous
Skip
Next
Question # 17
SQL can be used to:
Choose an answer
Create database structures only
Query database only
Modify database data only
All
Previous
Skip
Next
Question # 18
Which escape sequence can move the cursor at the beginning of current line in C?
Choose an answer
\a
\b
\m
\r
Previous
Skip
Next
Back