Search Header Logo

Python - 1

Authored by José Gonçalves

Computers

12th Grade

Used 16+ times

Python - 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual é o resultado da seguinte linha de código?

print("Hello world!\nHello world!")

Hello world! Hello world!

Hello world!

Hello world!

SyntaxError

Hello world!

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual a palavra reservada (comando) é utilizado para apresentar no ecrã um número ou texto?

print

input

output

command

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

O que é uma variável?

Uma caixa (localização na memória) onde são guardados os valores

tipo de gráfico

tipo de dados

tipo de memória

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Que simbolo é utilizado em python para atribuir valores a uma variável?

igual =

soma +

forward slash /

asterísco *

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual é o resultado da saída?

name = "Dave"

print (name)

Dave

'Dave'

name

(name)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual o comando em python que coloca a questão ao utilizador - aguarda que o utilizador apresente dados?

answer()

open()

print()

input()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Qual é a linha de comando que atribui corretamente "Tanner" a uma variável?

name = print( "Tanner")

input("Tanner")

name = "Tanner"

name = input("Tanner")

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?