
Test vectori

Quiz
•
Computers
•
9th Grade
•
Hard
Ioana Gaita
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Care este declararea corectă pentru o variabilă x care reţine 15 valori reale?
int x;
float x;
float x[15];
char x[15];
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Vectorul A conţine, începând cu indicele 1 elementele (1,2,2,3,3,3,4,4,4,4,......). Care este valoarea elementului cu indicele 25?
25
7
6
12
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Fie vectorii a şi b în care a=(1,2,4,3,5) şi b=(4,2,1,3). Atunci a[b[0]] are valoarea:
5
3
2
1
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Se consideră un vector cu n elemente reale sortate. Dacă se doreşte aflarea valorii maxime din vector, numărul minim de comparaţii necesare este:
n
2n
1
n-1
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Care este tipul corect de date pentru a declara un vector de 10 caractere?
double x[10];
char x[10];
int x[10];
float x[10];
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Dacă a=(2,3,5,7) şi b=(1,0,3), ce valoare are a[b[1]]?
7
5
2
3
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Un vector B conţine elementele (1,1,2,2,3,3,3,4,4,4,4). Care este valoarea elementului cu indicele 20?
4
5
3
6
Create a free account and access millions of resources
Similar Resources on Wayground
9 questions
Selection vs. Bubble Sort

Quiz
•
9th - 12th Grade
6 questions
Phần thi: TĂNG TỐC

Quiz
•
9th - 12th Grade
9 questions
TEST TIC - IX - HARDWARE

Quiz
•
9th Grade
10 questions
“Классная” работа с динамической памятью

Quiz
•
9th Grade
10 questions
Solar System -Pencil 2D

Quiz
•
KG - Professional Dev...
10 questions
Tablouri Bidimensionale - Clasa a IX-a

Quiz
•
9th Grade
10 questions
Quiz despre Matrice

Quiz
•
9th Grade
6 questions
Introduction to Programming Language

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd 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
30 questions
Computer Terminology Exercise #1 ( Fill Ins)

Quiz
•
9th Grade
15 questions
MLA Formatting

Quiz
•
9th Grade
20 questions
Typing Practice

Quiz
•
7th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
20 questions
Google Sheets Quiz

Quiz
•
9th Grade