
Duomenų struktūrų naudojimas
Quiz
•
Information Technology (IT)
•
12th Grade
•
Medium
Elina Petrulienė
Used 1+ times
FREE Resource
Enhance your content in a minute
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Pasirinkite, kuri eilutė teisingai deklaruoja realiųjų skaičių masyvą C++ programavimo kalboje:
string A[i];
double A[100];
double [5];
int A[100];
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ką programa atspausdins?
#include <iostream>
using namespace std;
int main()
{
int masyvas[5];
for(int i = 0; i < 5; i++) {
masyvas[i] = i + 1;
}
for(int i = 0; i < 5; i++) {
cout << masyvas[i] << " ";
}
}
1 2 3 4 5
5
0 1 2 3 4
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ką programa atspausdins?
#include <iostream>
using namespace std;
int main ()
{
string vardas[5] = {"Austėja", "Arnė", "Augustas", "Augustė", "Adomas"};
string klase[5] = {"2a", "2b", "2c", "2a", "2b"};
for (int i=0; i<5; i++)
{
if (vardas[i] == "Arnė")
{
cout << klase[i] << " ";
}
}
}
2a
2b
2c
2a 2b 2c
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ką programa spausdins, jei įvesime Labas
#include <iostream>
using namespace std;
int main()
{
string zodis;
int k = 0;
cin >> zodis;
for (int i=0; i<zodis.size(); i++)
{
if (zodis[i] >= 'a' && zodis[i] <= 'z') k++;
}
cout << k;
}
Labas
5
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ką programa spausdins, jei įvesime
Ką programa spausdins, jei įvesime
6
4 6 8 10 12 14
#include <iostream>
using namespace std;
int funkcija(int n, int B[]);
int main()
{
int n;
int B[50];
cin >> n;
for (int i=0; i<n; i++)
{
cin >> B[i];
}
cout << funkcija(n, B);
}
int funkcija(int n, int B[])
{
int s=10, k=0;
for (int i=0; i<n; i++)
{
if (s < B[i]) k = k + B[i];
}
return k;
}
26
6
4 6 8 10 12 14
Similar Resources on Wayground
10 questions
Continue операторы
Quiz
•
9th - 12th Grade
10 questions
TẠO BIỂU MẪU TRONG HTML
Quiz
•
12th Grade
10 questions
การสืบค้นเพื่อหาแหล่งข้อมูล
Quiz
•
9th - 12th Grade
10 questions
Quiz on Web Services in Education
Quiz
•
12th Grade - University
10 questions
Evaluación de Software y Sistemas Operativos
Quiz
•
12th Grade
10 questions
Parts of a Computer: Operating System Functions
Quiz
•
9th Grade - University
10 questions
Online Safety Quiz
Quiz
•
9th - 12th Grade
10 questions
Pengenalan Perangkat Lunak Kelas 7
Quiz
•
7th Grade - University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
Discover more resources for Information Technology (IT)
8 questions
Veterans Day Quiz
Quiz
•
12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
19 questions
Explore Triangle Congruence and Proofs
Quiz
•
9th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
DNA Replication Concepts and Mechanisms
Interactive video
•
7th - 12th Grade
20 questions
Food Chains and Food Webs
Quiz
•
7th - 12th Grade
15 questions
Identify Triangle Congruence Criteria
Quiz
•
9th - 12th Grade
23 questions
Similar Figures
Quiz
•
9th - 12th Grade
