Qual será a saída do seguinte código?
print(“Hello world!”)
Pytyhon Intro 1
Quiz
•
Information Technology (IT)
•
12th Grade
•
Medium
GUILHERME PEREIRA CAMPOS
Used 2+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual será a saída do seguinte código?
print(“Hello world!”)
Erro de Sintaxe
“Hello world!”
Hello world!
Print (Hello world!)
Answer explanation
A saída correta será 'Hello world!' porque o código imprime exatamente essa string.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A maneira correta de escrever uma variável em Python?
myVariable = 10
my Variable = 10
myVariable is 10
myVariable: 10
Answer explanation
A maneira correta de escrever uma variável em Python é 'myVariable = 10', pois segue a sintaxe correta de atribuição de valor a uma variável.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Qual será a saída do seguinte código?
print(Hello world!)
Hello world!
Erro de Sintaxe
Hello world
print(Hello world!)
Answer explanation
A saída será 'Erro de Sintaxe' porque a string 'Hello world!' não está entre aspas, resultando em um erro de sintaxe ao tentar imprimir.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que esta função faz?
input()
Abre a bandeja do CD.
Pede ao usuário para digitar algo.
Exibe a palavra 'input'.
Encerra o programa.
Answer explanation
Pede ao usuário para digitar algo.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
O que é uma variável?
Um número como 25.
Mais, menos, multiplicar, dividir ou igual.
Um array de texto.
Um local de armazenamento no programa que armazena um valor.
Answer explanation
Uma variável é um local de armazenamento no programa que armazena um valor.
10 questions
Revisao
Quiz
•
12th Grade
10 questions
Quiz aula 7
Quiz
•
9th - 12th Grade
5 questions
自定義函數
Quiz
•
10th Grade - University
10 questions
PDS - 3DS - entrada do usuário com Python
Quiz
•
12th Grade
10 questions
Continue операторы
Quiz
•
9th - 12th Grade
9 questions
Увлекательный мир Python
Quiz
•
6th Grade - University
10 questions
Basic Java Concepts Assessment
Quiz
•
12th Grade
10 questions
Quiz sobre Sistemas Operativos CEF 24/25
Quiz
•
8th Grade - University
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
12 questions
Multiplying Fractions
Quiz
•
6th Grade
30 questions
Biology Regents Review #1
Quiz
•
9th Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression
Quiz
•
9th - 12th Grade
14 questions
Attributes of Linear Functions
Quiz
•
9th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University
50 questions
Biology Regents Review 2: Ecology
Quiz
•
9th - 12th Grade
20 questions
Investing
Quiz
•
9th - 12th Grade