Iedc Coders Club Programming Quiz

Iedc Coders Club Programming Quiz

University

25 Qs

quiz-placeholder

Similar activities

Python MCQ

Python MCQ

University

20 Qs

Iphone Quiz [UPDATE]

Iphone Quiz [UPDATE]

5th Grade - Professional Development

20 Qs

Microsoft Office Advandces 2016

Microsoft Office Advandces 2016

9th Grade - Professional Development

20 Qs

Programação Web 04

Programação Web 04

University

20 Qs

Uji Capaian Pembelajaran

Uji Capaian Pembelajaran

8th Grade - University

20 Qs

Evaluación de Kotlin

Evaluación de Kotlin

University

20 Qs

Quiz Pemrog Web

Quiz Pemrog Web

University

20 Qs

Arduino Loop

Arduino Loop

2nd Grade - University

20 Qs

Iedc Coders Club Programming Quiz

Iedc Coders Club Programming Quiz

Assessment

Quiz

Computers

University

Medium

Created by

Lnox sian

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a correct syntax to output "Hello World" in Python?

echo "Hello world"

print("Hello world")

echo("Hello world")

p("Hello world")

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you insert COMMENTS in Python code

// This is a comment

#this is a comment

/*Thisi s a comment*/

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is not a legal variable name ?

Myvar

my-var

my_var

_myvar

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a varaiable with numeric value 5 ?

x = 5

Both answers are correct

x = int(5)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct extension for Python Files ?

.pyt

.py

.pyth

.pt

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Create a floating variable 2.8 to x ?

Both of the answers are correct

x = float(2.8)

x = 2.8

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax to output the type of a variable or object in Python

print(typeof x)

print(typeof(x))

print(typeOf(x))

print(type(x))

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?