M3 R5 Chapter 8

M3 R5 Chapter 8

12th Grade

100 Qs

quiz-placeholder

Similar activities

M3 R5  Test 13

M3 R5 Test 13

12th Grade

102 Qs

M3 R5 Chapter 6

M3 R5 Chapter 6

12th Grade

105 Qs

CS1101 Python Final Exam practice

CS1101 Python Final Exam practice

University

103 Qs

окм сурактары

окм сурактары

University

100 Qs

M2 R5 Test 24

M2 R5 Test 24

12th Grade

100 Qs

M2 R5 Chapter 9

M2 R5 Chapter 9

12th Grade

104 Qs

Python Certification Preparation

Python Certification Preparation

11th - 12th Grade

100 Qs

O Level M1 R5 Mix 100 MCQ Set 1

O Level M1 R5 Mix 100 MCQ Set 1

12th Grade

105 Qs

M3 R5 Chapter 8

M3 R5 Chapter 8

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Alexa Institute

Used 1+ times

FREE Resource

100 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python में, किसी फ़ंक्शन के अंदर परिभाषित वेरिएबल का स्कोप क्या होता है?

Global

Local

Non-local

Universal

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python में एक मॉड्यूल कैसे बनाया जा सकता है?

By writing Python code in a .py file

By creating a .module file

By defining functions inside a Python script

Both a and c

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

LEGB नियम में "E" का क्या मतलब है?

External

Enclosing

Environment

Encapsulation

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python मॉड्यूल के बारे में निम्न में से कौन सा सही है?

A module is a file containing Python code.

Modules help to organize code.

Modules allow code reuse.

All of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python में किसी मॉड्यूल को इंपोर्ट करने का सही तरीका क्या है?

import module_name

module_name import

import_module module_name

None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

इंपोर्ट के समय आप किसी मॉड्यूल का नाम कैसे बदल सकते हैं?

import module_name as new_name

rename module_name as new_name

import module_name -> new_name

module_name.rename(new_name)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

मॉड्यूल फाइल्स के नेमस्पेस के रूप में कार्य करने के बारे में क्या सत्य है?

Each module creates its own namespace.

Variables in one module are isolated from other modules.

Functions and variables in a module can be accessed using the dot operator.

All of the above

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?