M3 R5 Chapter 8

M3 R5 Chapter 8

12th Grade

100 Qs

quiz-placeholder

Similar activities

Collection Lect 2-10 _ COA MCQ T3 2023

Collection Lect 2-10 _ COA MCQ T3 2023

University

100 Qs

CSCI-2210-001 - Data Structures - Final Review

CSCI-2210-001 - Data Structures - Final Review

University

99 Qs

Mid Term Practice AX1

Mid Term Practice AX1

University

95 Qs

INFO Questions

INFO Questions

12th Grade

101 Qs

Exam

Exam

University

99 Qs

M2 R5 Chapter 7

M2 R5 Chapter 7

12th Grade

96 Qs

Python MCQs: Sequence Data Types chapter 5

Python MCQs: Sequence Data Types chapter 5

12th Grade

103 Qs

MS Word Quiz

MS Word Quiz

University

105 Qs

M3 R5 Chapter 8

M3 R5 Chapter 8

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Alexa Institute

Used 2+ 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?