Python Session1 Test

Python Session1 Test

University

10 Qs

quiz-placeholder

Similar activities

Introduction to VB

Introduction to VB

University

5 Qs

OOP Review 2

OOP Review 2

University

10 Qs

Talent Next Java MCQ-1

Talent Next Java MCQ-1

University

10 Qs

java quiz on Encapsulation and Abstraction

java quiz on Encapsulation and Abstraction

University

10 Qs

java unit-I

java unit-I

University

15 Qs

Unit 08 - Quiz (Part 1)

Unit 08 - Quiz (Part 1)

University

10 Qs

Types of programming language (Low Level/Object Oriented)

Types of programming language (Low Level/Object Oriented)

12th Grade - University

12 Qs

Quiz3_DataStruct

Quiz3_DataStruct

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?