
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
MAGNITUDES FÍSICAS
Quiz
•
8th - 9th Grade
13 questions
ENERGIAS
Quiz
•
10th Grade
10 questions
8vo "B" Ciclo del oxigeno
Quiz
•
8th Grade
11 questions
Preparación Icfes I
Quiz
•
11th Grade
10 questions
PRUEBA PROYECTO 6 - 9NO
Quiz
•
9th Grade
10 questions
Bahan kimia dalam kehidupan sehari-hari
Quiz
•
9th - 12th Grade
10 questions
Biomoléculas en la Estructura Celular
Quiz
•
8th Grade
14 questions
Erfðafr. kafli 4.3 og 4.4 (12mín)
Quiz
•
8th - 10th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Science
20 questions
Name That Tune Christmas Edition
Quiz
•
6th - 9th Grade
18 questions
Christmas Science
Quiz
•
6th - 8th Grade
37 questions
8.10B Weather Patterns
Quiz
•
8th Grade
10 questions
Exploring Plate Tectonics and Their Boundaries
Interactive video
•
6th - 10th Grade
22 questions
Amplify - Traits and Reproduction
Quiz
•
8th Grade
15 questions
Snow
Quiz
•
6th - 8th Grade
20 questions
Human Impact on the Environment Review #2
Quiz
•
9th Grade
15 questions
Movie Trivia for Christmas
Quiz
•
6th - 8th Grade