Selectați expresiile adevărate
Test formativ IF

Quiz
•
Computers
•
10th Grade
•
Medium
Elena Frunza
Used 3+ times
FREE Resource
24 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
8 <= 5
(4 + 5) / 2 > -8
6 != 3
2 * (3 + 1) == 3 * 3 - 2 + 4 / 4
7 == 77 / 7
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Selectați răspunsul care corespunde valorii variabilei b la sfârșitul îndeplinirii programului:
int a,b,c;
int main ()
{
a = 3;
if (a <5) b = -5 ; else b = 5;
return 0;
}
-5
5
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Selectați răspunsul care corespunde valorii variabilei b la sfârșitul îndeplinirii programului:
int a,b,c;
int main ()
{
a = 2;
if (3* a < 5) b = 2 * a ;
else b = a -2;
return 0;
}
2
4
0
-2
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Selectați răspunsul care corespunde valorii variabilei b la sfârșitul îndeplinirii programului:
int a,b,c;
int main ()
{
a = 7;
if (a % 5 < 3) b = a + 3 ; else b = a - 2;
return 0;
}
12
7
5
10
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Selectați răspunsul care corespunde valorii variabilei b la sfârșitul îndeplinirii programului:
int a,b,c;
int main ()
{
a = 7;
if (a % 3 == 2) b = 2 * a ; else b = a ;
return 0;
}
7
12
12
5
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Selectați răspunsul care corespunde valorii variabilei b la sfârșitul îndeplinirii programului:
int a,b,c;
int main ()
{
a = 12;
if (a / 2 > 5) b = a / 2 ; else b = a +1 ;
return 0;
}
11
6
13
7
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Selectați răspunsul care corespunde valorii variabilei c la sfârșitul îndeplinirii programului:
int a,b,c;
int main ()
{
a = 8;
b = 16;
if (a == b / 2) c = a ; else c = b;
return 0;
}
8
12
4
16
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Debugging

Quiz
•
10th Grade
20 questions
Conditionals Quiz

Quiz
•
9th - 12th Grade
20 questions
2.4 Computational Logic

Quiz
•
9th - 11th Grade
19 questions
Unit 4: Operators in Java

Quiz
•
9th - 10th Grade
20 questions
quiz dasar python

Quiz
•
1st Grade - University
22 questions
2.4 Boolean Logic

Quiz
•
10th - 11th Grade
20 questions
Linguaggio C++

Quiz
•
10th - 12th Grade
20 questions
Java Values and datatypes

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University