
Языки программирования 595 гр. Тема 11

Quiz
•
Computers
•
University
•
Medium

Khatira Abbasova
Used 5+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Укажите неправильно записанную операцию отношения в языке С++
>
<
<=
>=
=!
2.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Укажите логические операции в языке С++
&&
||
<=
>=
!
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Пусть заданы следующие значения логических переменных
bool a=true, b=false, c=true, d=false;
Чему будет равно значение выражения a&&b||c&&d ?
false
true
b || d
a || c
false && true
4.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Даны следующие объявления переменных:
bool a = true, b=false,c=true;
int k = 3, m = -20;
Выберите все выражения, которые дают результат true.
(k < m) || a&&c
a || b && (k > 0)
a&&b&&c || (m > 0)
a&&b || c && !(k > 0)
b&&c || (m< 0) && (k <= 3)
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Пусть заданы следующие значения логических переменных
bool a=true, b=false, c=true, d=false;
Чему будет равно значение выражения a&&(c||!b)?
false
true
true && false
true || false
a && c
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Для вычисления остатка от a/b и возвращения значения с плавающей точкой в языке C++ применяется функция:
fmod(a, b)
ceil(a, b).
floor(a, b)
ord(a,b)
pow(a, b)
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Даны значения переменных x=2, y=3. Что будет выведено в результате выполнения программы
int main() {
int x, y, s;
cin >> x >> y;
if (x < y) {
cout << "s" << "=" << x;
} else {
cout << "s" << "=" << y;
}
return 0;
}
2
s=2
s=3
3
2; 3
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
quiz pertemuan 2 asik ddp

Quiz
•
University
12 questions
Divide et Impera

Quiz
•
11th Grade - University
10 questions
Java Control Flow statements

Quiz
•
University
12 questions
javaquizvivek

Quiz
•
University
10 questions
PreTest Larik/ Array

Quiz
•
11th Grade - University
10 questions
Initiation à la programmation 3 : tests et conditions

Quiz
•
University
7 questions
C++ Riferimenti

Quiz
•
University
10 questions
Struktur Data

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University