Search Header Logo

11NGS_P3

Authored by Vong Phromden

Information Technology (IT)

11th Grade

Used 4+ times

11NGS_P3
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A ……………… is a block of code which only run when it is called.

Structure

Class

Object

Function

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

តើគេប្រើ Keyword “def” សម្រាប់ធ្វើអ្វី?

Defined function

Call function

Create class

Defined variable

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

ជ្រើសយកចម្លើយដែលត្រឹមត្រូវនៃការ Call Function

def Person(): print("Hello from a function") my_function()

def Person(): print("Hello from a function") function()

def Person(): print("Hello from a function") Person()

def my_function(): print("Hello from a function") Person()

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

ជ្រើសយកចម្លើយដែលត្រឹមត្រូវនៃការ Call Function with parameter

def my_function(food): for x in food: print(x) fruits = ["apple", "banana", "cherry"] my_function(food)

def function(food): for x in food: print(x) fruits = ["apple", "banana", "cherry"] my_function(food)

def my_function(food): for x in food: print(x) fruits = ["apple", "banana", "cherry"] my_function(food)

def my_function(food): for x in food: print(x) fruits = ["apple", "banana", "cherry"] my_function(fruits)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

គេប្រើ return statement សម្រាប់…….

Return a value of parameter

Return a value of function

Return a value of argument

Return a value of statement

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

គេប្រើ break statement សម្រាប់..........

បញ្ឈប់រង្វិលជុំមុនពេលវាបានរង្វិលជុំតាមធាតុទាំងអស់

បញ្ឈប់រង្វិលជុំរួចបន្ដរង្វិលជុំបន្ទាប់

បញ្ឈប់ដំណើរកូដទាំងអស់

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

គេប្រើ continue statement សម្រាប់..........

បញ្ឈប់រង្វិលជុំមុនពេលវាបានរង្វិលជុំតាមធាតុទាំងអស់

បញ្ឈប់រង្វិលជុំរួចបន្ដរង្វិលជុំបន្ទាប់

បញ្ឈប់ដំណើរកូដទាំងអស់

បញ្ឈប់ការធ្វើឡើងវិញបច្ចុប្បន្ននៃរង្វិលជុំ ហើយបន្តជាមួយទៅនឹងរង្វលជុំទៅធាតុបន្ទាប់

Access all questions and much more by creating a free account

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

Already have an account?