×
9th Chapter

12th Class Computer Science Chapter 9 Test

Here you can prepare 12th Class Computer Science Chapter 9 Elements of C Test. Click the button for 100% free full practice test.

2nd Year Computer Science Chapter 9 Online MCQ Test for 12th Class Computer Science Chapter 9 (Elements of C)

This online test contains MCQs about following topics:

- Overview
- Keywords
- Constants
- Data Type
- Operatore in C
- Expression
- Comments

ICS Part 2 Computer Sci Ch. 9 Test
ic

2nd Year Computer Science Chapter 9 Online MCQ Test for 12th Class Computer Science Chapter 9 (Elements of C)

Sr. # Questions Answers Choice
1 Which is a valid statement for declaring a variable?
  • A. int marks;
  • B. int a,b,c;
  • C. Double salary;
  • D. All
2 Which of the following are valid variable names?
  • A. Long
  • B. Integer
  • C. Notlongenough
  • D. Both B and C
3 The number of bytes used by double data type in C is:
  • A. 2
  • B. 8
  • C. 12
  • D. 16
4 Which of the following are required to declare a variable?
  • A. keyword
  • B. Variable name
  • C. Data type
  • D. Both b and c
5 Which of the following is NOT a valid identifier?
  • A. return
  • B. myInt
  • C. myInteger
  • D. total3
6 A primary key that consists of more than one attribute is called a
  • A. Foreign key
  • B. Composite key
  • C. Multi-valued key
  • D. Global key
7 Which is NOT a valid statement to initialize a variable?
  • A. int n=100;
  • B. long,population=15000;
  • C. char n []="hello World";
  • D. cons int N=100;
8 An attribute that uniquely identify each row in a relation is called
  • A. Column
  • B. Foreign
  • C. Primary key
  • D. Duplicate key
9 Which is a numeric data type ?
  • A. float
  • B. int
  • C. Both a and b
  • D. char
10 Variables are created in
  • A. Ram
  • B. Rom
  • C. Hard disk
  • D. Cache

Top Scorers of Computer Science Ics Part 2 Chapter 9 Online Test

M

Muzammil Kareem

Lahore03 - Jun - 2022

15/15
53 Sec
M

Muzammil Kareem

Lahore03 - Jun - 2022

15/15
01 Mins 29 Sec
M

Muzammil Kareem

Lahore03 - Jun - 2022

14/15
01 Mins 22 Sec
M

Muzammil Kareem

Lahore03 - Jun - 2022

14/15
01 Mins 55 Sec
A

Abdul Rehman

Lahore22 - Jun - 2022

14/15
01 Mins 58 Sec
A

Abdul Rehman

Lahore22 - Jun - 2022

14/15
02 Mins 03 Sec
M

Maliha Khokhar

Lahore05 - Jul - 2022

14/15
02 Mins 06 Sec
M

Muzammil Kareem

Lahore03 - Jun - 2022

13/15
01 Mins 38 Sec
M

Muzammil Kareem

Lahore03 - Jun - 2022

13/15
02 Mins 08 Sec
A

Aliza Shahbaz

Lahore24 - Jun - 2022

13/15
02 Mins 17 Sec
M

Maliha Khokhar

Lahore05 - Jul - 2022

13/15
03 Mins 11 Sec
A

Ayesha CH

Lahore23 - May - 2022

12/15
02 Mins 56 Sec
M

Muneeba Riaz

Lahore18 - Aug - 2022

12/15
03 Mins 58 Sec
M

Muzammil Kareem

Lahore03 - Jun - 2022

12/15
05 Mins 21 Sec
M

Muzammil Kareem

Lahore03 - Jun - 2022

11/15
01 Mins 52 Sec

Share your comments questions here
Sort By:
  • M

    Marry

    08 Feb 2017

    student

    Like (1)
    Reply
X

Sign in

to continue to ilmkidunya.com

inquiry-image

Free Admission Advice

Fill the form. Our admission consultants will call you with admission options.

X

Sign in

to continue to ilmkidunya.com

X

Sign in

to continue to ilmkidunya.com

X

Forgot Password

to continue to ilmkidunya.com

X

Register Type

Please Provide following information to Register

  • Student
  • Tutor
  • Consultant
  • Employer