CODE STORM

CODE STORM

Professional Development

20 Qs

quiz-placeholder

Similar activities

MENGENAL AKM

MENGENAL AKM

Professional Development

20 Qs

EVALUASI PPKn 8 Bab 1 & 2

EVALUASI PPKn 8 Bab 1 & 2

4th Grade - Professional Development

15 Qs

AMPA GUITARRA 1

AMPA GUITARRA 1

1st Grade - Professional Development

20 Qs

單元四 第1課 生長你我他 & 第2課 飲食小專家

單元四 第1課 生長你我他 & 第2課 飲食小專家

Professional Development

20 Qs

AKTA DAN PERATURAN

AKTA DAN PERATURAN

Professional Development

20 Qs

Ref_Course_CPAB_02

Ref_Course_CPAB_02

Professional Development

20 Qs

KURIKULUM 2013

KURIKULUM 2013

Professional Development

20 Qs

BME - INTRODUCTION - COMPUTER ENGINEERING

BME - INTRODUCTION - COMPUTER ENGINEERING

Professional Development

20 Qs

CODE STORM

CODE STORM

Assessment

Quiz

Education

Professional Development

Hard

Created by

codemaker2023 codemaker2023

Used 3+ times

FREE Resource

AI

Enhance your content

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Find the output of given code:

main ()

{

const int z;

z=9;

print (z++);

}

10

9

Compilation Error

No Output

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Find the output of given code:

main ()

{

const int x;

x=25;

print(x);

}

0

25

No output

Compilation Error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Find the output of given code:

main ()

{

int i;

i=1;

print (++i, i++, ++i);

}

2 3 4

2 1 2

2 2 4

4 2 4

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

main ()

{

print (4+”CodeMaker”);

}

Maker

CodeMaker

Error

None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Find the output of given code:

main ()

{

int a[5]={1,2,3,4,5};

 int i,j,m;

 i=++a[2];

 j=a[1]++;

 m=a[i++];

 print(i,j,m);

}

3 2 5

4 2 5

5 3 5

5 2 5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

main ()

{

enum days{MON=-1,TUE,WED=6,THU,FRI,SAT};

 print(++MON,TUE,WED,THU,FRI,SAT);

}

-1 0 1 2 3 4

0 1 6 3 4 5

0 0 6 7 8 9

Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Find the output of given code:

main ()

{

    int i=4,j=8;

    print (i|j&i|j, i|j&&i|j, i^j);

}

12 1 12

112 1 12

32 1 12

-64 1 12

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?