Search Header Logo

presentaation 2

Authored by ẻqwerweqr qưerwqer

Arts

University

Used 6+ times

presentaation 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 3 pts

How do you determine the input of a problem in programming?

a. By identifying the steps needed to solve the problem.

b. By analyzing the problem statement and identifying the necessary data.

c. By reviewing the code of previous solutions.

d. None of the above.

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How do you determine the output of a problem in programming?

a. By analyzing the problem statement and identifying the expected results.

b. By randomly guessing and checking different answers.

c. By looking at the code of previous solutions.

d. None of the above.

3.

MATCH QUESTION

20 sec • 2 pts

Why is it important to determine the input and output of a problem in programming?

F

a. To understand the problem better.

T

c. To evaluate the correctness of the code.

F

d. All of the above.

F

b. To write code that accurately solves the problem.

4.

MATCH QUESTION

20 sec • 1 pt

What is a loop in programming?

sai vào đây

d. None of the above.

sai vào đây

b. A statement that allows you to jump to a different part of the code.

sai vào đây

a. A condition that must be satisfied before code is executed.

đáp án đúng thì kéo vào đây :))

c. A block of code that repeats until a certain condition is met.

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Why are loops needed in programming?


(a)  

a. To repeat a block of code until a certain condition is met.

b. To increase the speed of the program.

c. To simplify the code.

d. None of the above.

6.

DRAG AND DROP QUESTION

20 sec • 2 pts

How many types of loops are there in programming?​ ​ (a)  

d. Multiple
c. Three
b. Two
a. One

7.

DROPDOWN QUESTION

20 sec • 1 pt

Which loop is used to repeat a block of code until a certain condition is no longer true?​ (a)  

a. While loop
b. For loop
c. Do-while loop
d. None of the above.

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?