untitled

untitled

Assessment

Flashcard

English

4th Grade

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

15 questions

Show all answers

1.

FLASHCARD QUESTION

Front

What is the definition of a variable in programming?

Back

A variable is a symbolic name associated with a value and whose associated value may be changed.

2.

FLASHCARD QUESTION

Front

What is the purpose of a function in programming?

Back

A function is a block of code that performs a specific task and can be reused throughout a program.

3.

FLASHCARD QUESTION

Front

What does 'if-else' statement do in programming?

Back

An 'if-else' statement allows the program to execute certain code based on whether a condition is true or false.

4.

FLASHCARD QUESTION

Front

What is an array?

Back

An array is a data structure that can hold multiple values of the same type in a single variable.

5.

FLASHCARD QUESTION

Front

What is the difference between a list and a tuple in Python?

Back

A list is mutable (can be changed), while a tuple is immutable (cannot be changed) after it is created.

6.

FLASHCARD QUESTION

Front

What is a loop in programming?

Back

A loop is a control structure that repeats a block of code as long as a specified condition is true.

7.

FLASHCARD QUESTION

Front

What is the purpose of a conditional statement?

Back

A conditional statement allows the program to make decisions based on certain conditions.

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?