Basic Python

Basic Python

University

20 Qs

quiz-placeholder

Similar activities

Review Quiz (Chapter 3&4)

Review Quiz (Chapter 3&4)

University

20 Qs

C Programming Unit-1 Test-2

C Programming Unit-1 Test-2

University

20 Qs

quiz pertemuan 2 asik ddp

quiz pertemuan 2 asik ddp

University

15 Qs

QUIZ 1: REVIEW ON C

QUIZ 1: REVIEW ON C

University

15 Qs

TEST1.PY

TEST1.PY

10th Grade - University

20 Qs

Mengenal Jendela dan Ikon Microsoft Excel

Mengenal Jendela dan Ikon Microsoft Excel

7th Grade - University

15 Qs

QUIZ 2

QUIZ 2

University

20 Qs

Fun with Computer Architecture

Fun with Computer Architecture

University

15 Qs

Basic Python

Basic Python

Assessment

Quiz

Computers

University

Hard

Created by

Mamta Savadatti

Used 177+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In Python, print () by default adds which of the following as an end line argument?

\t

\n

\s

\r

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is not true about variable names?

The length of the variable name is fixed

Can contain upper case or lowercase letters and digits 0-9

Variable names cannot begin with a digit

Variable names are case sensitive

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does IDE stand for?

Internet Data Evaluation

Integrated Drive Electronics

Integrated Development Enterprises

Integrated Development Environment

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In Spyder, the command to clear the console is

%reset

%clear

%del

%delete

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following code cannot be used to initialize multiple variables with a common value?

a, b, c = 55

a, b, c = 55, 55, 55

a = b = c = 55

a = 55; b = a; c = b

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output after executing the given codes?

6

42

3

52

None

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is true with respect to the below codes?


a = 4**3

b = pow(4,3)

print(a,b)

a = b

a ≠ b

a < b

a > b

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?