Search Header Logo

Quiz 3

Authored by yousof diaa

Computers

University

Used 2+ times

Quiz 3
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What widget has more that one child ?

Containers

buttons

Row

Text

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is not a valid button ?

Text button

Raised button

Icon button

Elevated button

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is onPressed(){} ?

Function

Widget

Button

Text

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

how to go to the previous page ?

Navigator.push(context);

Navigator.pull();

Navigator.pop(context);

Navigator.pop();

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary purpose of the setState method in Flutter?

To update the state of a widget
To define the layout of a widget
To handle user input
To create a new widget

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the GestureDetector in Flutter?

To gesture to the user to do an action

To detect gestures such as taps, drags, and long-press on a widget.

To handle user input

To handle user authentication

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main difference between a stateless widget and a stateful widget in Flutter?

a) Stateful widgets cannot have children.

b) Stateless widgets cannot change their properties.

c) Stateful widgets can change their properties over time.

d) Stateless widgets can change their properties over time.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers