what is the output of this code?
int x =5.2;
print(x);
Flutter_Q1
Quiz
•
Computers, Instructional Technology
•
Professional Development
•
Medium
Mina Romany
Used 4+ times
FREE Resource
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
what is the output of this code?
int x =5.2;
print(x);
5
5.2
Error
5.0
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
var x = 14.9;
what is the type of variable x?
Boolean
String
Int
double
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Fill the gaps.
___Declaring an integer
and printing it___
int x = 42;
print(x);
//.........//
<----...................----->
/*............*/
?-------------?
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
what is the output of this code?
const R = 3.1;
R=5;
print(R);
3.1
5
Error
3
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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.
FILL IN THE BLANK QUESTION
20 sec • 1 pt
var a ="4";
var b ="2";
print(a+b);
what is the output of this code?
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which operator is used to determine the remainder?
*
/
%
+
23 questions
Flutter full quiz
Quiz
•
Professional Development
20 questions
PL SQL
Quiz
•
University - Professi...
20 questions
Quiz 5.1
Quiz
•
Professional Development
21 questions
Quiz 3.1
Quiz
•
Professional Development
20 questions
Soal HTML, CSS, dan JavaScript Basic
Quiz
•
Professional Development
20 questions
Chapter 3 : Flowchart & Pseudocode
Quiz
•
Professional Development
20 questions
VCE TalentNext-2021 Quiz-2
Quiz
•
Professional Development
20 questions
Ch.8 - Introducing Python
Quiz
•
6th Grade - Professio...
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