Subprogramul f este definit mai sus. Scrieţi valoarea lui f(3).
Recursivitate

Quiz
•
Computers
•
1st - 12th Grade
•
Hard

Popa Carmen
Used 6+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
3
6
9
11
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Valoarea lui f(19,20) este:
38
24
-5
-7
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Indicati valoarea lui f(2020,2).
2022
2020
2002
2000
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Când se apelează un subprogram în memoria STIVĂ se salvează
adresa de revenire în subprogramul apelant
valorile parametrilor transmişi prin valoare
adresele de memorie a parametrilor transmişi prin referinţă
valorile variabilelor locale
toate variantele de mai sus
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Identificaţi erorile din subprogramul recursiv de mai sus:
nu este specificată situaţia în care funţia nu se mai autoapelează
autoapelul nu conduce spre un grad de generalitate mai mic
variantele de raspuns de mai sus
nu sunt greşeli
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Valoarea lui f(2020,20) este:
0
-1
-1899
-2000
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Indicati ce se va afisa in urma apelului f(9).
91
942
0071
0071249
8.
FILL IN THE BLANK QUESTION
2 mins • 1 pt
Se considera subprogramul f, definit mai sus.
Scrieti doua numere naturale din intervalul (21,27), care pot fi memorate in doua variable intregi x1 si x2, astfel incat valoarea lui f(x1,3) sa fie 29, iar valoarea lui f(3,x2) sa fie 1.
Similar Resources on Quizizz
11 questions
bac INFO - teste de antrenament nr. 4 + 5 - 2021 - subiect I

Quiz
•
12th Grade
9 questions
EXPRESII C/C++

Quiz
•
9th Grade
9 questions
Limbaj C++

Quiz
•
1st - 5th Grade
6 questions
A3 Lectia 7 divizori

Quiz
•
KG - 12th Grade
8 questions
test evaluare

Quiz
•
8th Grade
10 questions
C++

Quiz
•
6th - 8th Grade
7 questions
Variabile Scratch Quiz

Quiz
•
1st - 5th Grade
10 questions
C3 quiz2

Quiz
•
4th - 8th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade