Search Header Logo

UNIT 1- FUNCTIONS,PSUEDOCODE

Authored by DHASAMALIKA S

Computers

1st Grade

Used 2+ times

UNIT 1- FUNCTIONS,PSUEDOCODE
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a function in Python?

A block of organized, reusable code

A type of car

A type of food

A type of snake

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you define a function in Python?

Using the 'def' keyword followed by the function name and parentheses, then a colon, and the function body is indented.

Using the 'fun' keyword followed by the function name and parentheses, then a colon, and the function body is indented.

Using the 'define' keyword followed by the function name and parentheses, then a colon, and the function body is indented.

Using the 'function' keyword followed by the function name and parentheses, then a colon, and the function body is indented.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the input function used for in Python?

To take input from the user

To create a loop in the program

To perform mathematical calculations

To display output on the screen

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you display output in Python?

display()

output()

show()

print()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is Python?

A programming language

A type of food

A

A type of snake

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the basic data types in Python?

red, blue, green, yellow

apple, banana, orange, grape

dog, cat, bird, fish

integer, float, string, boolean, and complex

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a flowchart?

A visual representation of a process or algorithm using different shapes and arrows.

A type of chart used to measure the flow of water

A type of flower that grows in a chart

A type of dance move performed in a chart

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?