
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
9 questions
Test Limbajul C++

Quiz
•
7th Grade - University
15 questions
Kiểm tra Tin học 8 T5

Quiz
•
8th Grade
15 questions
Mảng 1 chiều

Quiz
•
8th - 11th Grade
10 questions
VIII_сам_раб_Pasc1

Quiz
•
8th Grade
10 questions
Bài 6

Quiz
•
8th Grade
10 questions
Kiểm tra cuối học kỳ 1 Tin học 8 đề 2

Quiz
•
6th - 8th Grade
14 questions
Vectori clasa VIII

Quiz
•
8th Grade
10 questions
Ai nhanh hơn For-do

Quiz
•
5th Grade - University
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th 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
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
16 questions
Clovis Unified Student Use of Technology

Quiz
•
4th - 8th Grade
11 questions
Technology Acceptable Use

Quiz
•
6th - 8th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
15 questions
Student Technology Agreement

Quiz
•
6th - 8th Grade
10 questions
Acceptable Use of Technology

Quiz
•
7th - 8th Grade