21-22_QUIZ1_KCA102

21-22_QUIZ1_KCA102

1st - 3rd Grade

10 Qs

quiz-placeholder

Similar activities

HARD-SOFTware INF 6

HARD-SOFTware INF 6

2nd Grade

10 Qs

What color is?

What color is?

KG - 2nd Grade

10 Qs

Be4PSPM 1

Be4PSPM 1

1st - 5th Grade

10 Qs

Azure AI Custom Vision

Azure AI Custom Vision

2nd Grade

10 Qs

Computer

Computer

3rd Grade

10 Qs

Parcial - Módulo IV

Parcial - Módulo IV

1st Grade - University

15 Qs

EXAMEN-2°AÑO-INFORMATICA P3-2021

EXAMEN-2°AÑO-INFORMATICA P3-2021

1st - 9th Grade

13 Qs

G2_MS Word Basic Parts

G2_MS Word Basic Parts

2nd Grade

10 Qs

21-22_QUIZ1_KCA102

21-22_QUIZ1_KCA102

Assessment

Quiz

Computers

1st - 3rd Grade

Practice Problem

Hard

Created by

Gaurav Bhatia

Used 16+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

void main()

{

int a=5,b=10,temp;

temp=a,a=b,t=temp;

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

}

10,5

5,10

5,5

10,10

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

void main(){

int a=2,b=2,x,y;

x= 4 * (++a * 2 + 3);

y= 4 * (b++ * 2 + 3);

printf("%d,%d,%d,%d",a,b,x,y);

}

3,3,36,28

3,3,36,20

3,3,28,28

error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following statement ?

int a=10; printf("%d &i",a,10);

error

10 10

10

none of these

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following statements ?

int a = 4, b = 7,c; c = a = = b; printf("%i",c);

error

0

1

garbage

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following statement ?

printf( 2 + "goodbye"+1);

goodbye

error

dbye

none of these

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

what will be the output of the following code

int a=5,b=6,max;

a<b?max=b:max=a;

printf("%d",max);

none of these

6

5

error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code?

float a=0.7;

if(a==0.7)

printf("true");

else

printf("false");

false

true

error

none of these

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?