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

Quiz
•
Computers
•
University
•
Hard
Andre Prado
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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 Quizizz
10 questions
Computational Thinking - AQA A Level Computer Science

Quiz
•
10th Grade - University
10 questions
Introduction to Computer Programming

Quiz
•
6th Grade - University
10 questions
ICPTP L2: Program Design

Quiz
•
University
10 questions
Chapter 1 Intro to Algorithms

Quiz
•
University
13 questions
Programming Concepts Quiz

Quiz
•
6th Grade - University
10 questions
2024Batch-Python-Unit-I-Q & A

Quiz
•
University
10 questions
C++ quiz

Quiz
•
10th Grade - Professi...
10 questions
STM10173 : TOPIC 1 (INTRODUCTION IN PROGRAMMING LANGUAGE)

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade