What is output of this code:
int x = 5.2
print(x)
Quiz1
Quiz
•
Computers
•
University
•
Medium
Mohand Mahmoud
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What is output of this code:
int x = 5.2
print(x)
5.0
5
5.2
Error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x = 14.9;
what is the type of variable x?
int
float
double
Nontype
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fill the gaps.
___Declaring an integer
and printing it___
x = 42;
print(x);
//......//
/*.....*/
<..............>
""" ....................""
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is the output of this code?
R = 3.1
R=5
print(R)
3.1
5
Error
0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
which one print 10?
num =9
print ("the number is $num + 1")
num =9
print ("the number is num +1")
num =9
print ("the number is ${num + 1}")
num =9
print ("the number is " , (num +1))
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a ="4";
b ="2";
print(a + b);
what is the output of this code?
Error
6
42
Error
Null
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used to determine the remainder?
/
*
%
+
12 questions
Python Quiz 1.6
Quiz
•
University
15 questions
Python End of Topic Quiz
Quiz
•
8th Grade - University
7 questions
Quiz on Java Operators
Quiz
•
University
15 questions
Round 2 Debug-The-Code
Quiz
•
University
10 questions
Python Basics
Quiz
•
12th Grade - University
15 questions
Python Programming
Quiz
•
5th Grade - University
12 questions
CSSE Quiz Day2
Quiz
•
University
10 questions
Java Control Flow statements
Quiz
•
University
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade