Programming Quiz

Programming Quiz

University

9 Qs

quiz-placeholder

Similar activities

Chapter 1 Intro to Algorithms

Chapter 1 Intro to Algorithms

University

10 Qs

Algorithms

Algorithms

University

10 Qs

Computer  Fundamentals

Computer Fundamentals

10th Grade - Professional Development

10 Qs

CSC126 Quick Exercise 1-1

CSC126 Quick Exercise 1-1

University

10 Qs

Algorithms

Algorithms

University

12 Qs

Programming Concepts Quiz

Programming Concepts Quiz

6th Grade - University

13 Qs

oop_r2

oop_r2

University

11 Qs

Programming  Languages_Day1

Programming Languages_Day1

University

10 Qs

Programming Quiz

Programming Quiz

Assessment

Quiz

Computers

University

Hard

Created by

Andre Prado

FREE Resource

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be printed by the program if the user inputs 15?

16 75

16 80

5 75

15 75

15 80

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does the following code snippet do?

Reads numbers until the user inputs 0 or 9

Reads 10 different numbers

Reads an integer between 0 and 9 (inclusive)

Reads any number 10 times

Reads any integer

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following C code?

25

100

20

5

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Assinale, a seguir, o valor impresso ao final da execução do código.

125

20

35

5

10

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual seria a saída desse fragmento de código em C++?

1 2 3 4 5 6 7 8 9

1 2 3 4 5 6 7 8 9

1 2 3 4 5 6 7 8 9 10

12345678910

123456789

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A biblioteca _______________ é conhecida por ser a biblioteca de entrada e saída na linguagem C.

stdio.h

math.h

string.h

conio.h

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is software?

None of the above

A type of system that assists other systems

Flow systems

Means something soft

Software, in turn, designs a program or a set of programs capable of acting, modifying, and controlling the processing of logical and numerical data by the computer.

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which option correctly fills in the blanks in the sentences below? 1 - _______ is a machine intended for data processing, capable of obeying instructions aimed at producing certain transformations in this data to achieve a specific end. 2 - _______ is a set of instructions that describe a task to be performed by a computer. 3 - _______ is a logical sequence, something very similar to a recipe or tutorial that shows step by step the procedures necessary to solve a task.

Computer; Algorithm; Program

Computer; Program; Algorithm

Algorithm; Computer; Program

Program; Computer; Algorithm

Program; Algorithm; Computer

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Regarding basic control structures, select the correct option.

In the DO-WHILE structure, the specific group of instructions may never be executed.

It is possible to use a DO-WHILE command instead of a WHILE command, using the negation of the WHILE for the DO-WHILE.

In the WHILE structure, the specific group of instructions will only be executed if the condition is false.

In the WHILE structure, the specific group of instructions will be executed at least once.

The DO-WHILE structure reexecutes a specific group of instructions until the condition becomes false.