Programming Quiz

Quiz
•
Computers
•
University
•
Hard
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
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
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.
Similar Resources on Wayground
13 questions
Practice Quiz 1 - CS110

Quiz
•
University
10 questions
Flowchart Quiz

Quiz
•
University
10 questions
Coding - Computer Programming

Quiz
•
KG - University
10 questions
COA Q3

Quiz
•
University
10 questions
Chapter 1 Intro to Algorithms

Quiz
•
University
13 questions
Programming Concepts Quiz

Quiz
•
6th Grade - University
10 questions
Computer Programming

Quiz
•
University
10 questions
C++ quiz

Quiz
•
10th Grade - Professi...
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade