what is the output of this code?
int x =5.2;
print(x);
Flutter full quiz
Quiz
•
Computers
•
Professional Development
•
Medium
Mina Romany
Used 9+ times
FREE Resource
23 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
what is the output of this code?
int x =5.2;
print(x);
5
5.2
5.0
Error
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
var x = 14.9;
what is the type of variable x?
int
var
double
float
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Fill the gaps.
___Declaring an integer
and printing it___
int x = 42;
print(x);
//......//
<..............>
/*.....*/
?...........?
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
what is the output of this code?
const R = 3.1;
R=5;
print(R);
Error
5
3.1
null
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
which one print 10?
int num =9;
print ("the number is $num + 1");
int num =9;
print ("the number is ${num + 1}");
int num =9;
print ("the number is num +1")
int num =9;
print ("the number is " + (num +1));
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
var a ="4";
var b ="2";
print(a+b);
what is the output of this code?
Error
Null
42
6
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which operator is used to determine the remainder?
/
*
-
%
20 questions
Python Programming - Test 1
Quiz
•
University - Professi...
20 questions
Javascript Fundamental Practice
Quiz
•
Professional Development
20 questions
JavaScript
Quiz
•
Professional Development
26 questions
Quiz 2.2
Quiz
•
Professional Development
20 questions
Chapter 5 : JavaScript Objects & Arrays
Quiz
•
Professional Development
20 questions
Python AA
Quiz
•
Professional Development
22 questions
Python basics
Quiz
•
Professional Development
19 questions
Kotlin quiz 3
Quiz
•
Professional Development
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