Search Header Logo

SEM-2(Python-Q1)

Authored by Rishabh Tomar

Engineering

University

SEM-2(Python-Q1)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will the output be from the following code? Print (“Hello world!”)

SyntaxError

“Hello world!”

Hello world!

Print (Hello world!)

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is a correctly-formatted comment?

&comment

“”Comment””

!comment

#comment

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does term ‘debug’ mean:

looking at the code

a set of instructions

Identify errors and fix them

Making a calculation

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

What kind of programming language is Python?

High Level  & Object Orientated
Low Level & Object Orientated
High Level & Procedural
Low Level & Procedural

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is correct?

The Python interpreter ignores comments
Comments are used by programmers for a better understanding of the program
You use the # symbol before a comment
All of the above

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Python (TM) is owned and managed by

Microsoft (c)

Sun Microsystems (c)

Python (TM) is open source and free to use

Google (c)

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Python is ___________ level programming language and is ___________.

High, compiled

High, interpreted

Low, compiled

Low, interpreted

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?