Python Session1 Test

Python Session1 Test

University

10 Qs

quiz-placeholder

Similar activities

Classes

Classes

University

9 Qs

AP CSA Unit 9 Inheritance - Polymorphism

AP CSA Unit 9 Inheritance - Polymorphism

University

10 Qs

CSC305: TOPIC 2

CSC305: TOPIC 2

University

15 Qs

Java Bootcamp Day 4

Java Bootcamp Day 4

University

15 Qs

Varitey of Requirments 2

Varitey of Requirments 2

University

15 Qs

PE2 Module 3

PE2 Module 3

KG - Professional Development

11 Qs

FOP - CHAPTER 8

FOP - CHAPTER 8

University

10 Qs

ISPFL1 Midterm Quiz #3

ISPFL1 Midterm Quiz #3

University

10 Qs

Python Session1 Test

Python Session1 Test

Assessment

Quiz

Computers

University

Medium

Created by

Jayashree Darade

Used 4+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python is

Procedural Language

Object Oriented Language

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To define a block of code Python use___________

Indentation

Curly Braces

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Indentation refers to _____________

whitespaces at the beginning of the line

whitespaces at the end of the line

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

______ used to indicate the beginning of a code block

:

{

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

___________ describes the idea of wrapping data and the methods that work on data within one unit

Abstraction

Encapsulation

Inheritance

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Syntax for Inheritance in Python is ________

class childclass (baseclass):

class childclass : public baseclass

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Syntax for Object creation in Python is ________

ClassName ObjectName;

ObjectName = ClassName()

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?