Technotsav'23

Technotsav'23

University

19 Qs

quiz-placeholder

Similar activities

Java Control and Loop -2

Java Control and Loop -2

University

20 Qs

Lenguaje de Definición de Datos

Lenguaje de Definición de Datos

University

18 Qs

Redes Sociales

Redes Sociales

University

20 Qs

Firewall and Network Security

Firewall and Network Security

University

15 Qs

PBO Inheritance Episode 2

PBO Inheritance Episode 2

University

18 Qs

Logika & Pemrograman (ID)

Logika & Pemrograman (ID)

10th Grade - Professional Development

20 Qs

2.4 - 2.6

2.4 - 2.6

University

15 Qs

ÔN TẬP CUỐI HKI TIN HỌC 3

ÔN TẬP CUỐI HKI TIN HỌC 3

3rd Grade - University

23 Qs

Technotsav'23

Technotsav'23

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

sagar Menasangi

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...

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

1.The loop which executes at least once even though the condition is false

a.while loop

b.for loop

c.do while loop

d.switch statement

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2. int x = 10;

if(x % 2 == 0)

printf("0");

printf("1");

printf("2");

printf("3");

a.0

b.0123

c.0

1

2

3

d.123

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3.

float x = 10.456789;

printf("%.4f",x);

a.14.456789

b.10.4567

c.10.4

d.10.45

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4.The C code ‘for(;;)’ represents an infinite loop. It can be terminated by ___________

a.exit(0)

b.return(1)

c.break

d.All the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5.printf("%d",10/(int)3);

a.3

b.3.333333

c.3.33

d.3.3

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

6. if(sizeof('a')==sizeof("abc"))

printf("a");

else

printf("b");

a.b

b.error

c.a

d.ab

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

7.float a = 1.2;

if(a == 1.2)

printf("true");

else

printf("false");

a.true

b.error

c.false

d.none of these

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?