Search Header Logo

TodoApp1

Authored by Yunesh Shrestha

Computers

Professional Development

Used 1+ times

TodoApp1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of SingleChildScrollView in Flutter?

To create a horizontal layout

To scroll multiple widgets simultaneously

To allow a single widget to scroll when it overflows

To scroll rows and columns together

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a Row, what does mainAxisAlignment control?

Vertical alignment

Horizontal alignment of children

Padding

Scroll direction

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens if crossAxisAlignment is set to CrossAxisAlignment.start in a Row?

Widgets align to the right

Widgets align to the top

Widgets align to the bottom

Widgets align to the left

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the following code print? List names = ['Alex', 'Brian']; names.add('Cathy'); print(names);

[Alex, Brian, Cathy]

[Cathy, Brian, Alex]

[Alex, Cathy]

['Alex', 'Brian', 'Cathy']

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will this code output? List nums = [1, 2, 3, 4]; nums.remove(2); print(nums);

[1, 3, 4]

[1, 2, 3, 4]

[1, 2, 3]

[1, 3, 4, 2]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the removeWhere() method do?

Removes items by index

Removes items randomly

Removes all elements that satisfy a condition

Removes duplicates from a list

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you declare a Map with String keys and int values?

Map<String, int> scores = {};

Map<int, String> scores = {};

var scores = new List();

Map scores={};

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?