Search Header Logo

CSE Sem 1 Final Review

Authored by Jacob Jagodzinski

Mathematics

12th Grade

CCSS covered

Used 3+ times

CSE Sem 1 Final Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

29 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

1. What is the purpose of a loop in programming?

a) To store data
b) To execute a block of code repeatedly
c) To declare variables
d) To perform mathematical operations

2.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

2. Which loop structure is used when the number of iterations is known in advance?

a) for loop
b) while loop
c) do-while loop
d) if-else loop

3.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

3. How is an infinite loop typically avoided in a while loop?

a) By using a break statement
b) By incrementing or decrementing a variable inside the loop
c) By using a continue statement
d) By using an if-else statement

4.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

4. What keyword is used to make decisions in programming based on certain conditions?

a) decision
b) condition
c) if
d) choose

5.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

5. What does the else statement allow you to do in an if-else structure?

a) Execute a block of code only if the condition is true
b) Execute a block of code only if the condition is false
c) Execute a block of code regardless of whether the condition is true or false
d) Skip the current iteration of a loop

6.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

6. In programming, what is a list?

a) A sequence of characters
b) A collection of data elements
c) A mathematical operation
d) A type of loop structure

7.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

7. What is a 2D list?

a) A list with two elements
b) A list with two dimensions
c) A list with two indices
d) A list with two values

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?