?>
Алгебраическое выражение (13b+53a - d):(7a+8), записанное на языке программирования имеет вид: 1- (13*b+53*a-d)/(7*a+8)2- (13*b+53*a-d)/7*a+8)3- 13*b+53*a-d/(7*a+8)4- (13b+53a-d)/(7a+8)Переменная какого типа может содержать два значения 0 или 1 (истина или ложь)1- float2- str3- bool4- intОпределите к какому типу данных относится следующее значение 3.6051- int2- char3- float4- boolОпределите к какому типу данных относится следующее значение '!'1- float2- int3- str4- boolВ записи c=10, что является именем (названием) переменной?Что будет в результате следующего действия print(2**20)1- 1045762- 10485763- 9644- 2Результатом вычисления print(24 // 3) будет число:1- 42- 83- 12Результатом вычисления print(math.sqrt(36)) будет число:Что будет в результате выполнения следующего действия print(23 % 2)1- 112- 13- 0В записи c=10, что является значением переменной?Какая функция отвечает за вывод на экран?1- cout<<a2- input()3- out (a)4- print (a)Результатом вычисления print(math.ceil(6.75)) будет число:Какая функция используется для ввода данных с клавиатуры?1- input()2- out (a)3- print (a)4- cout<<aЧто будет в результате выполнения команды: a = 20 b = a + 5 a = b * 100 print(a)1- 252- 25003- 250004- 1000Расширение файла Python1- .com2- .doc3- .py4- .exe
Ответы
Step 1: Multiply 13 by b and 53 by a:
13b + 53a - d
Step 2: Divide the result by (7a + 8):
(13b + 53a - d)/(7a + 8)
The correct answer is 4- (13b+53a-d)/(7a+8).
2- The variable that can hold two values - 0 or 1 (true or false) is bool (boolean).
The correct answer is 3- bool.
3- The value 3.605 is a decimal number, so it belongs to the float data type.
The correct answer is 3- float.
4- The value '!' is a character, so it belongs to the str (string) data type.
The correct answer is 3- str.
5- In the expression c = 10, 'c' is the name (identifier) of the variable.
The correct answer is 'c'.
6- The expression print(2**20) represents exponentiation, where ** denotes raising to the power. Therefore, the result is 1048576.
The correct answer is 2- 1048576.
7- The expression print(24 // 3) represents integer division, where // returns the closest integer lower than the division result. Therefore, the result is 8.
The correct answer is 2- 8.
8- The expression print(math.sqrt(36)) calculates the square root of 36 using the math module. The result is 6.
The correct answer is 6.
9- The expression print(23 % 2) represents modulus division, where % returns the remainder after division. In this case, the result is 1.
The correct answer is 2- 1.
10- In the expression c = 10, '10' is the value assigned to the variable 'c'.
The correct answer is '10'.
11- The function responsible for printing output to the screen in Python is print().
The correct answer is 4- print(a).
12- The expression print(math.ceil(6.75)) calculates the smallest integer greater than or equal to the given value. In this case, the result is 7.
The correct answer is 7.
13- The function used for inputting data from the keyboard in Python is input().
The correct answer is 1- input().
14- The expression a = 20 assigns the value 20 to the variable 'a'. Then, b = a + 5 assigns the value 25 to the variable 'b'. Finally, a = b * 100 assigns the value 2500 to the variable 'a'. Therefore, the result printed is 2500.
The correct answer is 2- 2500.
15- The file extension for Python programs is .py.
The correct answer is 3- .py.