
instructiunile If/case/for

Quiz
•
Computers
•
8th Grade
•
Medium
natalia tirdea
Used 4+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1.Ce valoare va afişa următoarea secvenţă de program? Argumentaţi răspunsul.
a=5; b=10;
if a=b then write(a+b) else write(sqr(a));
25
15
5
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2.Instrucțiunea care ne permite să alegem nu din 2 dar din mai multe alternative se numește ...
if
case
for
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3.Instrucțiunea Case,avem declarația de mai jos:
case m of
1..4 : writeln(‘rau’);
5..6 : writeln(‘suficient’);
7..8 : writeln(‘bine’);
9..10 : writeln(‘excelent’);
De ce tip de date este variabila m?
Integer
Real
Char
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4. if (expresie) instrucțiunea 1
else instrucțiunea 2;
Dacă expresia este adevărată atunci se execută...
Instrucțiunea 1
Instrucțiunea 2
Nu se execută nici o instrucțiune
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5. if (expresie) instrucțiunea 1
else instrucțiunea 2;
Dacă expresia este falsă atunci se execută...
Instrucțiunea 1
Instrucțiunea 2
Nu se execută nici o instrucțiune
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. Ce valoare va lua variabila x după executarea fiecărei dintre instrucţiunile ce urmează. Dacă se consideră că a=21; b=-12
if a>b then x:=5 else x:=-7;
x=...
-7
5
13
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7. Fie x=5, y=4, a=0.
Care va fi valoarea lui a după executarea instrucțiunii?
if x>y then a:=x+y else a:=x-y;
1
9
20
Create a free account and access millions of resources
Similar Resources on Wayground
19 questions
Test sumativ: Algoritmi

Quiz
•
8th Grade
10 questions
Kiểm tra TX tin 8

Quiz
•
8th Grade
14 questions
Repaso Teórico Conceptos Pascal

Quiz
•
8th - 12th Grade
10 questions
Bài kiểm tra thường xuyên 2-8

Quiz
•
8th Grade
13 questions
CẤU TRÚC LẶP FOR .. TO .. DO

Quiz
•
8th - 12th Grade
12 questions
Программирование разветвляющихся алгоритмов.

Quiz
•
8th Grade
10 questions
KHAO SAT 8A3

Quiz
•
6th - 8th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade
25 questions
How to Email a Teacher- https://youtu.be/NioeNhfpVfI

Quiz
•
6th - 8th Grade
20 questions
Computer Hardware

Quiz
•
6th - 8th Grade
21 questions
Gear Ratio Practice

Quiz
•
6th - 8th Grade