Python Django - Assessment

Python Django - Assessment

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

dataframe

dataframe

12th Grade

21 Qs

Soal Pilihan Ganda Pemrograman Web

Soal Pilihan Ganda Pemrograman Web

10th Grade

25 Qs

Avaliação JavaScript

Avaliação JavaScript

11th Grade

16 Qs

Questionário sobre Desenvolvimento Web

Questionário sobre Desenvolvimento Web

12th Grade

20 Qs

Ujian 1 ASJ XII

Ujian 1 ASJ XII

12th Grade

15 Qs

6.2 Data Manipulation and Transformation Quiz

6.2 Data Manipulation and Transformation Quiz

12th Grade

20 Qs

Q5-PAW-2024

Q5-PAW-2024

11th Grade

15 Qs

Сортировки массивов в Python

Сортировки массивов в Python

11th Grade

15 Qs

Python Django - Assessment

Python Django - Assessment

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

alhazen tutorkoding

Used 9+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

In sayHello() function, there a parameter called . . .

name

hello

print

def

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

sayHello() function need an argument called name, and it is also a . . . variable

local

global

main

function

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

To create an object from Person class, which is the right syntax?

object = Person("Jaka","Doctor")

object = Person()

object = person()

object = class Person()

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

To use getInfo() method from Person class, we have to . . .

create an object first then call getInfo() method

call getInfo() method right away

call getInfo methos after creating a class

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

class Student(Person) syntax means . . .

Student class inherits Person class

Student class is a different class

Student a base class

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

When developing a python project, it is recommended for us to create a virtual environment. To create virtual environment, we have to install virtualenv module/package using pip command. Which command is right to install virtualenv?

pip install virtualenv

pip virtualenv

virtualenv virtual

pip install virtual env

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

To create a virtual environment in our project folder, we have to use . . . comand

python -m virtualenv env

python -p virtualenv env

pip virtualenv env

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?