С++ цикл for
Quiz
•
Computers
•
6th - 9th Grade
•
Practice Problem
•
Hard
Anastasiia Maslechko
Used 4+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
for (int i = 0; i < 5; i= i+2){
cout << i << ' ';}
0 1 2 3 4 5
2 3 4 5
2 4 6
0 2 4
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
for (int i=8; i > 5; i--){
cout << i << " ";}
8 7 6
8 7 6 5
7 6 5
7 6
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
for (int i = 5; i * i < 100; i++){
cout << i << ' ';}
25 36 49 64 81
5 6 7 8 9 10
5 6 7 8 9
ошибка
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
for (int i = 10; i<100; i = i*2){
cout << i << ' ';}
10 20 30 40 50 60 70 80 90
20 40 60 80
10 20 40 80
ошибка
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
for (int i=100; i < 150; i++){
if (i % 10 == 0) {cout << i/10 << " ";}}
10 11 12 13 14
100 110 120 130 140
10 10 10 10 10
ошибка
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
for (int i = 0, s=0; i<= 5; i++){
if (i%2==1) s = s+i;}
cout << s;
0
9
4
5
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
for (int i = 0, p=0; i<= 5; i++){
if (i%2==1) p = p*i;}
cout << p;
1
5
15
0
Create a free account and access millions of resources
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
10 questions
JSPS Competition Hackathon - Scratch Language - Grade 1
Quiz
•
2nd Grade - University
14 questions
Input, output and storage de
Quiz
•
8th Grade - Professio...
14 questions
Мотылек
Quiz
•
6th - 8th Grade
10 questions
BÀI 8 - TIN HỌC 7
Quiz
•
8th Grade
10 questions
QBASIC Programming
Quiz
•
5th - 10th Grade
10 questions
Kiểm tra 15' tin 8 lần 2
Quiz
•
8th Grade
10 questions
Cos’è la ROM?
Quiz
•
6th - 12th Grade
15 questions
Quis Grade 5
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Company Logos
Quiz
•
6th - 8th Grade
13 questions
PowerPoint Basics
Quiz
•
6th - 8th Grade
10 questions
App Creators Lesson 2.1-2.4
Quiz
•
8th Grade
10 questions
Exploring Computer Science Careers and Subfields
Interactive video
•
6th - 10th Grade
23 questions
Prog 1 Python Q1 Practice
Quiz
•
9th - 12th Grade
