C - Parithabangal

C - Parithabangal

University

15 Qs

quiz-placeholder

Similar activities

HackHarbor 3.0 : Day 1

HackHarbor 3.0 : Day 1

University

16 Qs

BASIC PC COMPONENTS AND TROUBLESHOOTING  - BATCH 1

BASIC PC COMPONENTS AND TROUBLESHOOTING - BATCH 1

University

15 Qs

CHAPTER 1: SYSTEM ANALYSIS AND DESIGN

CHAPTER 1: SYSTEM ANALYSIS AND DESIGN

University

18 Qs

Bezpieczeństwo w sieci dla uczniów

Bezpieczeństwo w sieci dla uczniów

6th Grade - University

20 Qs

Мәтінді форматтау

Мәтінді форматтау

10th Grade - University

10 Qs

Quiz 1 - Sistem Informasi Bisnis

Quiz 1 - Sistem Informasi Bisnis

University

10 Qs

LD siskom SE

LD siskom SE

10th Grade - University

10 Qs

Počítačová grafika

Počítačová grafika

6th Grade - University

10 Qs

C - Parithabangal

C - Parithabangal

Assessment

Quiz

Information Technology (IT)

University

Practice Problem

Medium

Created by

Ajith Ajith

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of:

int a = 5, b = 2;

printf("%d", a / b);

2.5

2

3

Error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Expression 5 > 3 && 2 < 4 will return?

0

1

Error

Garbage

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be printed?

int x = 10;

if (x = 0)

printf("Zero");

else

printf("Non-Zero");

Zero

Non-Zero

Error

Nothing

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output?

int x = -5;

if (x > 0)

printf("Positive");

else

printf("Negative");

Positive

Negative

Error

None

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many times will this loop execute?

for(int i=1; i<=5; i++);

0

4

5

6

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which loop executes at least once even if condition is false?

for

while

do-while

None

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be printed?

int i=1;

while(i<3) {

printf("%d", i);

i++;

}

12

123

1

Error

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?