Search Header Logo

прога 1

Authored by dEFWWE FWEF

Other

University

Used 1+ times

прога 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

54 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for conditional branching in C++?

goto

if

continue

break

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of loop repeats a block of code while a condition is true?

for loop

do-while loop

while loop

switch

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is used to store a sequence of characters in C++?

int

float

char

string

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an algorithm?

A description of a sequence of actions to solve a problem

A random set of actions

A high-level programming language

A data file

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid variable name in Python?

1variable

variable_1

variable-1

variable.1

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an algorithm?

A random process

A sequence of actions to solve a problem

A computer program

A database

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which property must an algorithm have?

Randomness

Ambiguity

Definiteness

Infinity

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?