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
10 questions
Q&A – Decomposition & Sub-Routines (Primary 4 – 4CT.06)

Quiz
•
4th Grade - University
10 questions
Week 3 - [KU 1102] - Decomposition

Quiz
•
University
10 questions
Control Operations and Instruction Sets Quiz

Quiz
•
University
13 questions
Mock P1...Revise CPU

Quiz
•
10th Grade - University
10 questions
Checkpoint - IPO Diagrams in Computational Thinking

Quiz
•
9th Grade - University
10 questions
7.9 Identifying and Correcting Errors Cambridge IGCSE 0478

Quiz
•
10th Grade - University
10 questions
Y6 - Programming A - Variables in games

Quiz
•
6th Grade - University
10 questions
J277 - 2.1 - Inputs, Outputs and Processes

Quiz
•
10th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University