
pseudo2
Authored by GAVRILĂ IULIA-CARMEN
Science
8th - 11th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
9 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
5 mins • 1 pt
1. Fie x=12 si y= 4. Ce afiseaza următorul algoritm ?
citeste x,y (numere naturale)
u<-x ; v<-y;
cat_timp x<>y
executa daca x>y atunci x<-x-y; u<-u+v
altfel y<-y-x; v<-v+u
sf_daca
sf_cat_timp
scrie x,[(u+v)/2]
4 18
12 18
4 12
8 16
2.
MULTIPLE SELECT QUESTION
5 mins • 1 pt
1. Se consideră programul pseudocod alăturat:
citeşte a,b (numere întregi)
dacă a<0 atunci a<- -a
sfarsit_daca
daca b<0 atunci b< -b
sfarsit_daca
h<-0
cat_timp a>=b executa
h<-h+1; a<-a-b
sfarsit_cat_timp
scrie h
Ce se afiseaza si explicaţi ce efect are pentru a=126 şi b=-8.
8
15
16
20
3.
MULTIPLE SELECT QUESTION
5 mins • 1 pt
citeste n {numar natural}
i<-0
cat timp i*i<=n executa i<-i+1
sf_cat_timp
scrie i-1
Ce se afiseaza si explicaţi ce efect are pentru n=2051.
2050
46
45
2051
4.
MULTIPLE SELECT QUESTION
5 mins • 1 pt
a<-12345; s<-0
┌cât timp a>0 execută
│ s<-s+a%2; a<-[a/10]
└■
scrie s
Ce se afiseaza?
3
5
15
9
5.
MULTIPLE SELECT QUESTION
5 mins • 1 pt
Care sunt valorile variabilelor întregi a şi b după executarea secvenţei alăturate, dacă iniţial ele aveau valori diferite?
dacă (a<b) sau (a>b) atunci
a <-1; b <-a
dacă a=b atunci
b <- 0
a=0 şi b=0
a=1 şi b=1
a=1 şi b=0
a=0 şi b=1
6.
MULTIPLE SELECT QUESTION
3 mins • 1 pt
7. 1.
Care din următoarele secvenţe de instrucţiuni în pseudocod testează dacă z este cea mai mare valoare dintre valorile variabilelor x, y, z şi în caz afirmativ o afişează?
dacă (x>z) sau (y>z) atunci scrie z
dacă (x<y) sau (y<z) sau (x<z) atunci scrie z
dacă (x<y) şi (x<z) atunci scrie z
dacă (x<y) şi (y<z) atunci scrie z
7.
MULTIPLE SELECT QUESTION
3 mins • 1 pt
Condiţia ca două numere întregi a şi b să fie ambele nenule este:
a. (a!=0) sau (b!=0)
a*b!=0
(a+b)!=0
not ((a=0) şi (b=0))
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
Taller 2° Los aparatos eléctricos y electrónicos
Quiz
•
8th Grade
10 questions
Reconociendo Bacterias
Quiz
•
9th Grade
13 questions
八下理化1-1
Quiz
•
8th Grade
10 questions
ECOSISTEMAS
Quiz
•
1st - 12th Grade
13 questions
La constitution de l'atome
Quiz
•
9th Grade
10 questions
5-Fen-Maddenin Ayırt Edici Özellikleri
Quiz
•
5th - 8th Grade
14 questions
PLANETAS
Quiz
•
6th - 11th Grade
10 questions
Ciencia, química y tecnología
Quiz
•
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Science
33 questions
Grade 6 Quarter 3 PMA 5 Review
Quiz
•
6th - 8th Grade
85 questions
Midpoint D1 Review
Quiz
•
8th Grade
12 questions
Newton's Laws of Motion
Lesson
•
6th - 8th Grade
10 questions
Exploring the Rock Cycle: Types and Formation
Interactive video
•
6th - 8th Grade
10 questions
Exploring the Layers of the Earth
Interactive video
•
6th - 10th Grade
20 questions
Pure Substances & Mixtures
Quiz
•
8th Grade
28 questions
Genes and Heredity
Lesson
•
8th Grade
24 questions
Subatomic Particles
Quiz
•
8th Grade