
instructiunile If/case/for
Authored by natalia tirdea
Computers
8th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
10 questions
2 Power Point
Quiz
•
6th - 8th Grade
10 questions
COMPUTACIÓN BÁSICA
Quiz
•
1st Grade - Professio...
10 questions
Base de Datos
Quiz
•
1st Grade - University
11 questions
Cultura General
Quiz
•
7th - 9th Grade
10 questions
Excel basico inseya
Quiz
•
6th - 9th Grade
15 questions
Excel informática octavo
Quiz
•
8th Grade
10 questions
Virus Informáticos
Quiz
•
1st - 10th Grade
15 questions
Edición de Videos
Quiz
•
7th - 9th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade