12th Class ICS Computer Science Chapter 10 Online MCQ Test for (Input/Output)

ICS Part 2 Computer Science Online
Chapter 10 Test

Start Chapter 10 Test

MCQ's Test For Chapter 0 "ICS Part 2 Computer Science Chapter 10 Online Test"

Try The MCQ's Test For Chapter 0 "ICS Part 2 Computer Science Chapter 10 Online Test"

  • Total Questions15

  • Time Allowed20

ICS Part 2 Computer Science Chapter 10 Online Test

00:00
Question # 1

The escape sequence for backslash is:

Question # 2

Which of the following symbol is used with % sign to display output left-justified:

Question # 3

Which function is used to input data in C program?

Question # 4

Which of the following format specifiers is used for integer data type?

Question # 5

Which of the following is NOT legal element of control string in printf statement?

Question # 6

The format specifier  % d is used for

Question # 7

Which of the following format specifiers is used for character data type?

Question # 8

Which escape sequence can be used to insert a tab in c:

Question # 9

%f is used for:

Question # 10

In an E-R diagram a rectangle represents

Question # 11

Which escape sequence can be used to begin a new line in C?

Question # 12

Which of the following is displayed by printf function?

Question # 13

As ampersand before the name of a variable denotes:

Question # 14

The function that is used to display output on screen is called:

Question # 15

The escape sequence for backspace is

Prepare Complete Set Wise Chapter 0 "ICS Part 2 Computer Science Chapter 10 Online Test" MCQs Online With Answers


Topic Test

00:00
10th Chapter

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

Top Scorers Of Chapter 0 "ICS Part 2 Computer Science Chapter 10 Online Test" MCQ`s Test

  • R
    Rehan javaid 03 - Nov - 2024 01 Min 00 Sec 15/15
  • A
    Ali Umar 29 - Sep - 2025 01 Min 12 Sec 15/15
  • M
    Minahil Ashraf 15 - Nov - 2024 01 Min 21 Sec 15/15
  • M
    Muhsan 20 - Jan - 2025 01 Min 23 Sec 15/15
  • M
    Memona Zaka 20 - Dec - 2024 01 Min 45 Sec 15/15
  • U
    uswa arshad 08 - Nov - 2024 02 Min 19 Sec 15/15
  • M
    Mano Billi 06 - Nov - 2024 02 Min 34 Sec 15/15
  • M
    Muhammad Ali 30 - Oct - 2024 00 Min 03 Sec 14/15
  • S
    Saim G 30 - Jul - 2025 01 Min 11 Sec 14/15
  • C
    ch zaeem toheed 11 - Jan - 2025 01 Min 21 Sec 14/15
  • W
    Waheed Asghar 08 - Dec - 2024 01 Min 53 Sec 14/15
  • R
    Rida Virk 06 - Jan - 2025 02 Min 07 Sec 14/15
  • M
    Momo Shiki 18 - Dec - 2024 02 Min 27 Sec 14/15
  • W
    Waleed Ahmad 15 - Jan - 2025 02 Min 29 Sec 14/15
  • R
    Razia Shafqat 20 - Jan - 2025 02 Min 30 Sec 14/15

ICS Part II Computer Science Chapter 0 Important MCQ's

Sr.# Question Answer
1 Print() function can show
A. Text
B. Value of variable
C. Constants
D. All
2 Which of the following format specifiers is used for string?
A. %s
B. %c
C. %d
D. %f
3 The escape sequence for backspace is
A. \
B. \b
C. \\
D. \t
4 The statement printf ("%-10d",n) will display the value of n:
A. Right justified in ten-character space
B. Left justified in ten-character space
C. Center-justified in ten-character space
D. None of these
5 The format specifier %u is used for:
A. Integer
B. Unsigned short
C. Unsigned float
D. Unsigned long int
6 Which of the following function is used to input data in C programs?
A. Scanf
B. Printf
C. Get()
D. getch()
7 Which escape sequence can move the cursor at the beginning of current line in C?
A. \a
B. \b
C. \m
D. \r
8 The function getche() is defined in:
A. stdio.h
B. conio.h
C. string.h
D. math.h
9 The functions used for input and output is stored in:
A. stdio.h
B. conio.h
C. math.h
D. inout.h
10 The general form of format specifier for floating point value:
A. %m.nf
B. m.n%
C. m%.nf
D. m.n%f

Test Questions

Is this page helpful?