C Programming

C Programming

University

70 Qs

quiz-placeholder

Similar activities

Quiz Mengenai Hoax dan Cara Menghindarinya

Quiz Mengenai Hoax dan Cara Menghindarinya

9th Grade - University

70 Qs

HTML Quizz-01

HTML Quizz-01

University

75 Qs

MUITICT_11_test

MUITICT_11_test

University

70 Qs

MIDTERM EXAM 1-2

MIDTERM EXAM 1-2

University

70 Qs

UJI NYALI BDTI

UJI NYALI BDTI

University

70 Qs

Xử lý ảnh - 2

Xử lý ảnh - 2

University

65 Qs

Ôn tập thi Nghề PT

Ôn tập thi Nghề PT

10th Grade - University

70 Qs

Powerpoint

Powerpoint

University - Professional Development

65 Qs

C Programming

C Programming

Assessment

Quiz

Computers

University

Practice Problem

Hard

CCSS
7.NS.A.2C, 7.EE.B.3, 7.NS.A.3

Standards-aligned

Created by

Beschi Raja J

Used 380+ times

FREE Resource

AI

Enhance your content in a minute

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

70 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

int main()


{


int a = 10, b = 25;


a = b++ + a++;


b = ++b + ++a;


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


}

36 64

35 62

36 63

30 28

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

#include<stdio.h>

int main()

{

float a=0.7;

if(a<0.7)

{

printf("C");

}

else

{

printf("C++");

}

}

C

C++

Compilation Error

None of the these

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int main() {


int m = -10, n = 20;


n = (m < 0) ? 0 : 1;


printf("%d %d", m, n);


}

-10 0

10 20

20 -10

0 1

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

#include<stdio.h>

int main()

{

int a=2,b=7,c=10;

c=a==b;

printf("%d",c);

}

0

7

2

Compilation error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of C Program.?

int main()

{

int a=5;

while(a >= 3);

{

printf("RABBIT\n");

break;

}

printf("GREEN");

return 0;

}

GREEN

RABBIT GREEN

RABBIT is printed infinite times

None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of C Program.?

int main()

{

int a=25;

while(a <= 27)

{

printf("%d ", a);

a++;

}

return 0;

}

25 25 25

25 26 27

27 27 27

Compiler error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of C Program.?

int main()

{

int a=32;

do

{

printf("%d ", a);

a++;

}

while(a <= 30);

return 0;

}

32

33

30

No Output

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?