9th Chapter

ICS Part 2 Computer Science Chapter 9 Online Test MCQ's

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

ICS Part 2 Computer Science Online
Chapter 9 Test

Start Chapter 9 Test

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

Sr. # Questions Answers Choice
1 Which of the following statements is NOT legal?
  • A. char ch='b';;
  • B. char ch='0'
  • C. char ch=65;
  • D. char ch="cc"
2 Which is true about a variable?
  • A. The name and data value can both change
  • B. The name can change, but the data value cannot
  • C. The name cannot change, but the data value can
  • D. The name and the data value both cannot changed
3 The number of bytes used by int data type in C is:
  • A. 2
  • B. 8
  • C. 12
  • D. 16
4 the integer, long and short data types are known as:
  • A. Integer data types
  • B. Non-integral data types
  • C. float data types
  • D. Non-numeric data types
5 Variable and constant names can not contain a(n):
  • A. Number
  • B. Underscore
  • C. Upper case letter
  • D. Lower case letter
6 The number of bytes used by double data type in C is:
  • A. 2
  • B. 8
  • C. 12
  • D. 16
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 Which of the following operations has lowest precedence?
  • A. !
  • B. +
  • C. =
  • D. ==
9 Which of the following data types is most appropriate for storing a name?
  • A. float
  • B. int
  • C. char
  • D. long
10 A memory location with some data that cannot be changed is called:
  • A. Constant
  • B. Variable
  • C. Keyword
  • D. Address

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

H

Hiba Usman

Lahore14 - May - 2025

15/15
01 Mins 06 Sec
M

Momina Ishtiaq

Lahore06 - May - 2025

15/15
01 Mins 12 Sec
T

Toseeq Ali

Lahore25 - Mar - 2025

15/15
02 Mins 32 Sec
A

Abdul Qadir Jilani

Lahore12 - Jun - 2025

15/15
03 Mins 13 Sec
T

Toseeq Ali

Lahore25 - Mar - 2025

15/15
04 Mins 03 Sec
A

Abdul Rehman

Lahore05 - Jun - 2025

15/15
04 Mins 32 Sec
A

Abdul Rehman

Lahore05 - Jun - 2025

15/15
04 Mins 32 Sec
M

Momina Ishtiaq

Lahore06 - May - 2025

14/15
01 Mins 15 Sec
H

Hiba Usman

Lahore14 - May - 2025

14/15
01 Mins 18 Sec
M

Momina Ishtiaq

Lahore06 - May - 2025

14/15
02 Mins 12 Sec
T

Toseeq Ali

Lahore25 - Mar - 2025

14/15
02 Mins 32 Sec
T

Toseeq Ali

Lahore25 - Mar - 2025

14/15
02 Mins 32 Sec
T

Toseeq Ali

Lahore25 - Mar - 2025

14/15
02 Mins 32 Sec
S

Shabana Naeem

Lahore14 - May - 2025

14/15
03 Mins 42 Sec
M

MM UU

Lahore14 - May - 2025

14/15
03 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