Search Header Logo

CA1-CreateAlgorithms

Authored by Phil Earls

Computers

KG - Professional Development

Used 4+ times

CA1-CreateAlgorithms
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 • 5 pts

What will be the output of the following Python code

print(5+4*3)

5+4*3

17

27

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of the following are examples of a float variable

44

"hello, world"

1.2

-4

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is missing if you want to output this to screen:

_____("Hello, World")

Print

Output

Write

Display

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What will be the output from the following code:

print("2"+"7")

27

9

"2+7"

5.

FILL IN THE BLANKS QUESTION

1 min • 5 pts

Fill in the _ in this code:

if(x>y)_

print("true")

(a)  

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

In Python which of the following will store the input as an integer

age = int(input())

age=input()

age=float(input())

7.

FILL IN THE BLANKS QUESTION

1 min • 5 pts

What is the output of the following code:

x=3

x*=3

print(x)

(a)  

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?