
if test 202212
Quiz
•
Computers
•
11th Grade
•
Medium
邱建誌 邱建誌
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple

Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Quiz C++ Grade 10
Quiz
•
9th - 12th Grade
10 questions
PHP & MySQL - 11 - Conditional Statements
Quiz
•
11th Grade
10 questions
C++ 變數/輸入/輸出
Quiz
•
11th Grade
10 questions
Preetest Pemrograman Bahasa C
Quiz
•
11th Grade
10 questions
Kiểm Tra 15p Câu Lệnh IF (Python)
Quiz
•
10th Grade - University
10 questions
S If
Quiz
•
9th - 12th Grade
10 questions
Programming with C++
Quiz
•
9th - 12th Grade
10 questions
Functions in C++
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade