Python Internship Quiz

Python Internship Quiz

12th Grade - University

15 Qs

quiz-placeholder

Similar activities

NSI CODAGE

NSI CODAGE

11th - 12th Grade

20 Qs

MS Word Quiz 1

MS Word Quiz 1

University

10 Qs

Quizz de recuperación de notas

Quizz de recuperación de notas

9th - 12th Grade

12 Qs

B5. Các thao tác cơ bản trên bảng

B5. Các thao tác cơ bản trên bảng

12th Grade

16 Qs

Research conferences

Research conferences

12th Grade

10 Qs

1. Ayo Main Quiz

1. Ayo Main Quiz

University - Professional Development

16 Qs

Test Your Knowledge Part One

Test Your Knowledge Part One

1st - 12th Grade

15 Qs

8.12 C++ Test on Classes

8.12 C++ Test on Classes

9th - 12th Grade

15 Qs

Python Internship Quiz

Python Internship Quiz

Assessment

Quiz

Education, Instructional Technology

12th Grade - University

Medium

Created by

Teaching Assistant Ivy

Used 12+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output?

S=50.6

number=int(S)

new_number=number-1

print(new_number)

49.6

49

50

51.6

52

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the term 'debug' mean?

Identify errors and fix them.

Making a calculation

A set of instructions

Looking at code

Running a code in Jupyter

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python is an example of a....

Text-based programming language

Object orientated programming language

language written in java script

Visual-based programming language

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the print function do in python?

It's a variable.

It can input data.

It displays something like a string or integer

It loops the code.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is the correct code for creating a list of names?

Name_List = Apple, Banana, Grape, Apple, Banana, Banana

Name_List = ("Apple", "Banana", "Grape", "Apple", "Banana", "Banana")

Name_List = ["Apple", "Banana", "Grape", "Apple", "Banana", "Banana"]

Name_List = [Apple, Banana, Grape, Apple, Banana, Banana]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What output will this code produce?

Colours=[]

Colours.append(“blue”)

Colours.append(“green”)

Colours.append(“red”)

Print(colours[2])

blue

green

red

error

none of these

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not valid variable name in Python?

_var

var_name

Elephant

var11

11var

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?