
Языки программирования 595 гр. Тема 11
Authored by Khatira Abbasova
Computers
University
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
10 questions
Creating tables in HTML
Quiz
•
University
15 questions
Revisão - Unidade I - Teoria da Computação
Quiz
•
University
10 questions
Quiz - CSE
Quiz
•
University
15 questions
Selenium Overview
Quiz
•
University
10 questions
2024 - Struktur Data Quiz 1
Quiz
•
University
10 questions
Java Script. Parte 1.
Quiz
•
University
10 questions
BİLİŞİM TEKNOLOJİLERİ ÖĞRETİM ORTAMLARI
Quiz
•
University
15 questions
[CEH4H3] Sistem Tertanam Ganjil 1819 Kuis Online 2
Quiz
•
University
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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
5 questions
Examining Theme
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University