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
Subprogramul f este definit mai sus. Scrieţi valoarea lui f(3).
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 Wayground
10 questions
B1 variabile

Quiz
•
4th Grade
5 questions
Q - Instructiunea FOR

Quiz
•
9th Grade
8 questions
Operatori. Expresii

Quiz
•
10th Grade
8 questions
Exerciții Funcția IF

Quiz
•
10th Grade
9 questions
M+ B1 Q2

Quiz
•
5th Grade
9 questions
Recursivitate

Quiz
•
11th Grade
13 questions
Scratch operatori

Quiz
•
9th Grade
10 questions
Recapitulare ESP32/Arduino

Quiz
•
8th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th 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
20 questions
typing

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
20 questions
Input, Output, Processing or Storage

Quiz
•
5th - 6th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade