Quiz 4 Functions in Dart

Quiz 4 Functions in Dart

14 Qs

quiz-placeholder

Similar activities

Graphing Functions, Function Notation, Zeros Quiz

Graphing Functions, Function Notation, Zeros Quiz

KG - University

12 Qs

The blood test

The blood test

9th - 12th Grade

18 Qs

Lipid Review

Lipid Review

9th - 12th Grade

10 Qs

ASSESSMENT ENERGY EFFICIENCY (THERMAL)

ASSESSMENT ENERGY EFFICIENCY (THERMAL)

KG - University

10 Qs

Computer Programming and Networking Vocabulary

Computer Programming and Networking Vocabulary

12th Grade

17 Qs

Python Programming Quiz

Python Programming Quiz

12th Grade

10 Qs

Quiz 4 Functions in Dart

Quiz 4 Functions in Dart

Assessment

Quiz

others

Easy

Created by

Sithy Chamroeun

Used 7+ times

FREE Resource

14 questions

Show all answers

1.

OPEN ENDED QUESTION

2 mins • Ungraded

Full Name (Family & First Name)

Evaluate responses using AI:

OFF

2.

MULTIPLE CHOICE QUESTION

2 mins • 5 pts

What is a function in Dart?
A) A type of variable
B) A block of code that performs a specific task
C) A loop in a program
D) A way to store data

3.

MULTIPLE CHOICE QUESTION

2 mins • 5 pts

Why should we use functions in Dart?
A) To make the program look fancy
B) To repeat the same code many times
C) To reduce repetition and improve readability
D) To slow down the program

4.

MULTIPLE CHOICE QUESTION

2 mins • 5 pts

What is a named function type?
A) A function that has a name and can be reused
B) A function without a name
C) A function that only returns numbers
D) A function used only once

5.

MULTIPLE CHOICE QUESTION

2 mins • 5 pts

What is an anonymous function type?
A) A function that has a secret code
B) A function with no name, used for short tasks
C) A function that cannot be called
D) A function that always returns void

6.

MULTIPLE CHOICE QUESTION

2 mins • 5 pts

How do you call a function in Dart?
A) By writing its name followed by parentheses
B) By writing call function
C) By using the print statement
D) By declaring it again

7.

MULTIPLE CHOICE QUESTION

2 mins • 5 pts

What is the purpose of parameters in a function?
A) To decorate the function
B) To allow functions to accept input values
C) To store variables
D) To stop a function from running

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?