Search Header Logo

PPSC_ESE_B1_Quiz_10122024

Authored by Narasimha Reddy Soora

Computers

University

PPSC_ESE_B1_Quiz_10122024
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

what is a C Token.

A. The smallest individual units of c program

B. The basic element recognized by the compiler

C. The largest individual units of program

A and B

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

what is the output of the following code.

printf("%d", 5%-2);

-1

2

-2

1

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code snippet.

printf("%d", 10 > 20 && 10 < 20);

1

0

10

20

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The field width W.D in format specifier represents____

W represents total number of columns including precision digits

D represents number of precision digits out of W columns

Plus(+) before W.D is for Right Alignment. Minus(-) before W.D is for Left Alignment

All the options mentioned

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code snippet.

Singapore

Singapore

Poland


Singapore

England

Poland

England

Poland

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Make use of switch-case concept and identify the output of the program given.

Case 1:

Case 2:

Case 3:


Default:

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

what is the output of the following code snippet

6 7 8 9

5 6 7 8

Compilation error

None of the options mentioned

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?