if test 202212

if test 202212

11th Grade

10 Qs

quiz-placeholder

Similar activities

LIST - 1 - PYTHON 11

LIST - 1 - PYTHON 11

11th Grade

10 Qs

Structured information_E

Structured information_E

6th - 12th Grade

13 Qs

Informatika Kelas IX

Informatika Kelas IX

9th - 12th Grade

10 Qs

IMedia Recap

IMedia Recap

9th - 11th Grade

12 Qs

BTEC modern technologies

BTEC modern technologies

11th Grade

10 Qs

IP ADDRESS

IP ADDRESS

11th Grade

10 Qs

A Level - Data Structures 1

A Level - Data Structures 1

11th Grade

10 Qs

IGCSE Comp Sci -  Security revision

IGCSE Comp Sci - Security revision

9th - 11th Grade

10 Qs

if test 202212

if test 202212

Assessment

Quiz

Computers

11th Grade

Medium

Created by

邱建誌 邱建誌

Used 17+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int a,b,c;

a=5;

b=6;

c=7;

if(a==5)

{ cout << "A"; }

if(b==6)

{ cout << "B"; }

if(c>5)

{ cout << "C"; }

ABC

BC

A

AB

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a=5;

b=6;

c=7;

if(a==5)

{ cout << "A"; }

if(b==6)

{ cout << "B"; }

if(c>5)

{ cout << "C"; }

else

{ cout << "D"; }

ABCD

CD

AB

ABC

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a=5;

b=6;

c=7;

if(a==5)

{ cout << "A"; }

if(b==6)

{ cout << "B"; }

if(c<5)

{ cout << "C"; }

else

{ cout << "D"; }

ABCD

CD

ABC

ABD

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a=5;

b=6;

c=7;

if(a==5)

{ cout << "A"; }

else if(b==6)

{ cout << "B"; }

if(c<5)

{ cout << "C"; }

else

{ cout << "D"; }

ABCD

AD

BC

AC

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

下列哪一種永遠不會執行到?

if(a%2==0)

{a=a+2;}

else if(a%4==0)

{a=a+4;}

else

{a=a+1;}

a=a+2;

a=a+4;

a=a+1;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

哪一個if組合是正確的

if

else

else if

if

else if

else if

else if

else if

else if

else if

else

else

if

if

else

else

else

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a=5;

b=6;

c=7;

if(a>5)

{ cout << "A"; }

else if(b==6)

{ cout << "B"; }

else if(c<5)

{ cout << "C"; }

else

{ cout << "D"; }

ABCD

A

B

C

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?