background shapesbackground shapesbackground shapesbackground shapesbackground shapesbackground shapes

Quiz Summary

Fundamentals of Python Programming

Profile Image

Guest

question markRank: 650
question markPoints: 500
Accuracy 50.0%

Want to learn coding and ace these quizzes?

Find a new quiz

Share this in social media

Quiz result

5

Correct

5

Incorrect

Question Performance

1.

What is a variable?

A number

A message input by the user

A location in memory that we use to store data

A printout that show answer that user entered

2.

What symbol is used in python to assign values to a variable?

*

=

==

!=

3.

What is indentation in python?

The group of keywords

Displaying the output

The group of statements belongs to a particular block of code.

It is a function.

4.

Which statement is used to print text to the output console?

print

echo

system.out.println

input

5.

Which functions are used to accept input from the user?

raw_input()

rawinput()

input()

string()

6.

Which is a data type that can only be true or false?

int

string

boolean

float

7.

Which statement will check to see if a is equal to b?

if a == b

if a = b:

if a != b:

if a == b:

8.

The condition for a while loop to continue could include which of the following?

While something equals something

While something is greater than something

While something is True

All of these

9.

What is needed at the start of every function declaration?

for

print

def

def start

10.

Which one of the following is the correct way of calling a function?

function_name()

call function_name()

ret function_name()

function function_name()

We think you are in United States of America. Update your location?