
Dart Programming Quiz

Quiz
•
Professional Development
•
Professional Development
•
Medium
Mina Romany
Used 1+ times
FREE Resource
100 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does print('Hello Dart'); do?
Compiles the program only
Prints Hello Dart to stdout
Saves text to a file
Throws an exception
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a boolean literal in Dart?
'true'
True
true
1
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default value of an uninitialized top-level variable in Dart?
0
""
null
false
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of print(3.14);?
3.14
'3.14'
314
Error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword allows any type at runtime in Dart?
var
dynamic
Object
const
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is num in Dart?
A supertype of int and double
A subtype of double only
Used only for decimals
Not a Dart type
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code print? var s = 'dart'; print('Hi $s');
dart
Hi dart
Hi s
Error
Create a free account and access millions of resources
Similar Resources on Wayground
98 questions
Who We Are - Lemon Road Elementary

Quiz
•
Professional Development
100 questions
Praxis 5312 Practice Test 1

Quiz
•
Professional Development
100 questions
Real Estate Quiz

Quiz
•
Professional Development
100 questions
Prof Ed - The Professional Teacher

Quiz
•
Professional Development
100 questions
请根据对话内容选择正确的答案。

Quiz
•
Professional Development
99 questions
C_THR97_2205 - SAP SuccessFactors Onboarding 1H2022(99Questions)

Quiz
•
Professional Development
100 questions
Engineering Principles Quiz

Quiz
•
Professional Development
100 questions
MOCK EXAM SET 5A-PART 1

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade