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 SQL statement to create a view is:
Choose an answer
CREATE VIEW
MAKE VIEW
SELECT VIEW
INSERT VIEW
Previous
Skip
Next
Question # 2
Which of the following symbol is used with % sign to display output left-justified:
Choose an answer
-
/
\
L
Previous
Skip
Next
Question # 3
Which of the following key does not hold uniqueness property ?
Choose an answer
candidate key
foreign key
primary key
Secondary key
Previous
Skip
Next
Question # 4
Conditional operator is also called:
Choose an answer
True operator
Ternary-operator
Truth operator
All of these
Previous
Skip
Next
Question # 5
All of the following are components of physical database design EXCEPT:
Choose an answer
Data volume and usage anylisis
Data distribution strategy
File organization
Normalize the relations
Previous
Skip
Next
Question # 6
The expression in define directive:
Choose an answer
Can only be changed at the end of the program
Cannot be changed but can be redefined
Cannot be assigned a value
Cannot be changed
Previous
Skip
Next
Question # 7
The logical not operator denoted by is
Choose an answer
Ternary operator
Unary operator
a=a+b
b=b+a
Previous
Skip
Next
Question # 8
Which of the following can be used as flag value
Choose an answer
+
#
-
all
Previous
Skip
Next
Question # 9
the integer, long and short data types are known as:
Choose an answer
Integer data types
Non-integral data types
float data types
Non-numeric data types
Previous
Skip
Next
Question # 10
The name cannot exceed characters in length
Choose an answer
64
50
56
70
Previous
Skip
Next
Question # 11
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 # 12
A calculated field ,,,,,,,,,(select all that apply)
Choose an answer
...............is a bound control
...............is a control that contains an expression
...............can perform calculations on field's values
..............can perform calculations on explicit values
Previous
Skip
Next
Question # 13
Which of the following is not a good primary key
Choose an answer
Social security number
Order number
Zip code
STD ID number
Previous
Skip
Next
Question # 14
The operator that is used in decision making is
Choose an answer
increment operator
decrement operator
condition operator
none
Previous
Skip
Next
Question # 15
Which loop statement executes the body of loop at least once?
Choose an answer
do-white
While
For
None of these
Previous
Skip
Next
Question # 16
Which of the following keys us not unique:
Choose an answer
Candidate key
Forein key
Primary key
Secondary key
Previous
Skip
Next
Question # 17
Which of the following is also known as data set?
Choose an answer
Record
Field
File
Module
Previous
Skip
Next
Question # 18
Object used to retrieve data from database is called:
Choose an answer
Forms
Repons
Queries
Tables
Previous
Skip
Next
Back