Se dă un vector v = [ 5,2,6,327,32, -3, 0 ,46, 36, 35]. Ce element este pe poziția 5?
Vectori si Algoritmi fundamentali - introducere

Quiz
•
Computers
•
8th Grade
•
Hard

Rica P
Used 1+ times
FREE Resource
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
327
35
5
32
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Se dă un vector v = [ 5,2,6,327,32, -3, 0 ,46, 36, 35]. Ce valoare are elementul v[1]?
327
35
5
32
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Se dă un vector v = [ 5,2,6,327,32, -3, 0 ,46, 36, 35]. Ce valoare are elementul v[4]?
327
35
5
32
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Care este secvența corectă de afișare a unui vector?
for( i=1; i<=n; i++)
cout<<x[i]<<” “;
for( i=1; i>n; i++)
cout<<x[i]<<” “;
for( i=1, i<=n, i++)
cout<<x[i]<<” “;
for( i=1; i>n; i++)
cout<<x[n]<<” “;
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Care este secvența corectă pentru citirea elementelor unui vector?
cin>>n;
for( i=1; i<=n; i++)
cin>>x[i];
cin>>n;
for( i=1; i<=n; i++)
cin<<x[i]<<” ";
cin>>n;
for( i=1; i<=n; i++)
cout<<x[i];
cout>>n;
for( i=1; i<=n; i++)
cin<<x[i]<<” “;
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Care este secvența pentru declararea unui vector?
int v[100], n, i;
int v,n,i;
int v,100,n,i;
int v[100];n;i;
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Se dă un vector v = [ 5,2,6,327,32, -3, 0 ,46, 36, 35]. Care din secvențele următoare de cod afișează primele 3 elemente ale vectorului?
for( i=1; i<=3; i++)
cout<<x[i]<<” “;
for( i=1; i<=n; i++)
cin<<x[i]<<” “;
for( i=3; i<=n; i++)
cin<<x[i]<<” “;
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
HTML Tags

Quiz
•
7th - 8th Grade
15 questions
Dreamweaver HTML Basic

Quiz
•
5th - 9th Grade
15 questions
C++ While Loops

Quiz
•
6th - 8th Grade
20 questions
HTML-Lists & Images

Quiz
•
8th Grade
20 questions
ÔN TẬP WHILE DO VÀ FOR TO DO

Quiz
•
8th Grade
20 questions
HTML Assignment

Quiz
•
8th Grade
20 questions
Phyton 1

Quiz
•
7th - 8th Grade
16 questions
Ветвления в Паскале

Quiz
•
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
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary

Quiz
•
8th Grade
17 questions
guess the logo

Quiz
•
8th Grade
16 questions
Function or Non-Function?

Quiz
•
8th - 10th Grade
15 questions
Sentence Fragments and Run-ons

Quiz
•
8th Grade