X_Пон_мас_ариф
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
И Град
Used 4+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Задан массив констант А:
const a: array [1..5] of integer = (2, 15, 34, 87, 7);
Укажите значение элемента А[2].
2
7
15
34
87
2.
MULTIPLE CHOICE QUESTION
1 min • 2 pts
Что выполнит следующий фрагмент программы?
Что выполнит следующий фрагмент программы?
for var i := 1 to n do
write(a[i], ' ');
Ввод элементов массива в строку
Вывод элементов массива в строку
Вывод элементов массива в столбец (по одному в строку)
Вывод элементов массива в столбец (по одному в строку)
3.
FILL IN THE BLANK QUESTION
1 min • 3 pts
Дан фрагмент программы:
·
write (’Введите количество элементов массива:’);
read(n);
for var i:= 1 to n do
…
Введите вместо многоточия строку без пробелов, которая вводит с клавиатуры элементы массива b.
4.
FILL IN THE BLANK QUESTION
1 min • 4 pts
Задан массив x[1..n]. Вписать оператор вместо многоточия без пробелов,
чтобы найти сумму всех элементов массива в переменной s?
s := 0;
for var k := 1 to n do
...
5.
FILL IN THE BLANK QUESTION
1 min • 5 pts
Задан массив x[1..n]. Введите условие вместо многоточия без пробелов, чтобы найти сумму неположительных элементов массива в переменной s?
s := 0;
for var k := 1 to n do
if . . .
then
s := s + x[k];
6.
MULTIPLE CHOICE QUESTION
30 sec • 6 pts
Задан массив x[1..n]. Выберите условие, которое поставить вместо многоточия, чтобы
найти сумму четных элементов массива в переменной s?
s := 0;
for var j:=1 to n do
if ...
then s := s + x[j];
s mod 2 = 0
s div 2 = 0
x[j] mod 2 = 1
x[j] mod 2 = 0
x[j] div 2 = 0
7.
MULTIPLE CHOICE QUESTION
1 min • 7 pts
Задан массив x[1..n]. Выберите фрагмент программы, вычисляющий
произведение положительных элементов массива?
a := 0;
for var j:=1 to n do
if x[j]>0
then a := a + x[j];
a := 0;
for var j:=1 to n do
if x[j]>0
then a := a * x[j];
a := 1;
for var j:=1 to n do
if x[j]>0
then a := a * x[j];
a := 1;
for var j:=1 to n do
if x[j]>=0
then a := a * x[j];
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
12 questions
H7.P1&P2.Nova2.Geluid.mhv
Quiz
•
4th - 10th Grade
14 questions
AWS Cloud
Quiz
•
11th - 12th Grade
15 questions
Access 2013 - 4(consultas)
Quiz
•
10th Grade
10 questions
python
Quiz
•
10th Grade
15 questions
Ôn tập KTGK. Bài 17. Biến và lệnh gán
Quiz
•
10th Grade
10 questions
Diagramas de Flujo
Quiz
•
7th - 10th Grade
11 questions
Excel
Quiz
•
1st - 10th Grade
10 questions
CHƯƠNG TRÌNH CON BT1
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
