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.
Similar Resources on Wayground
9 questions
Condition Programming Quiz

Quiz
•
1st Grade - University
10 questions
Тест на if

Quiz
•
9th - 12th Grade
10 questions
Quizzi bài 29 Tin học 10

Quiz
•
10th Grade - University
9 questions
Kiến thức về hàm print() trong Python

Quiz
•
2nd Grade - University
10 questions
Aula 5

Quiz
•
9th - 12th Grade
10 questions
Quiz aula 8

Quiz
•
9th - 12th Grade
10 questions
Quiz de Programação em C

Quiz
•
9th - 12th Grade
8 questions
Intro to JS: Variables & Values

Quiz
•
11th Grade - University
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