-
Objective
-
Module 1 - Introduction to Python and computer programming
-
- Doe mee aan deze cursus om toegang te krijgen tot bronnen
-
Module 2 - Data types, variables, basic input-output operations, basic operators
-
- Doe mee aan deze cursus om toegang te krijgen tot bronnen
- Quiz
-
Module 3- Control statement
Module 2 Quiz
Beoordeling
0
0
Er zijn momenteel geen reacties.
Doe mee aan deze cursus
om als eerste een reactie achter te laten.
1.
The \n digraph forces the print() function to:
2.
The meaning of the keyword parameter is determined by:
3.
The value twenty point twelve times ten raised to the power of eight should be written as:
4.
The 0o prefix means that the number after it is denoted as:
5.
The ** operator:
6.
The result of the following division: 1/1
7.
Which of the following statements are true? (Select two answers)
8.
Left-sided binding determines that the result of the following expression: 1 // 2 * 3 is equal to :
10.
The print() function can output values of:
11.
What is the output of the following snippet? x =1; y=2; z=x; x=y; y=z print(x,y)
12.
What is the output of the following snippet if the user enters two lines containing 2 and 4 respectively? x = input(); y = input(); print(x + y)
13.
What is the output of the following snippet if the user enters two lines containing 2 and 4 respectively? x=int(input()); y=int(input()); x=x//y; y=y//x; print(y)
14.
What is the output of the following snippet if the user enters two lines containing 2 and 4 respectively? x = int(input()); y = int(input()); x = x / y; y = y / x ; print(y)
15.
What is the output of the following snippet if the user enters two lines containing 11 and 4 respectively? x = int(input()); y = int(input()) ; x = x % y; x = x % y; y = y % x; print(y)
16.
What is the output of the following snippet if the user enters two lines containing 3 and 6 respectively? x = input(); y = int(input()); print(x * y)
17.
What is the output of the following snippet? z = y = x = 1; print(x, y, z, sep='*')
18.
What is the output of the following snippet? y = 2 + 3 * 5. print(Y)
19.
What is the output of the following snippet? x = 1 / 2 + 3 // 3 + 4 ** 2; print(x)
Deel deze inhoud
Koppeling delen
Deel op sociale media
Delen via email
Alsjeblieft in te loggen om dit te delen Document via e-mail.
Insluiten in een andere website
Begin bij pagina