Python Django - Assessment

Python Django - Assessment

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Python-Lernquiz

Python-Lernquiz

10th - 12th Grade

18 Qs

Written Works 3 (ICT A)

Written Works 3 (ICT A)

11th Grade

20 Qs

Python. GuiZero

Python. GuiZero

7th - 12th Grade

15 Qs

SISTEM KOMPUTER

SISTEM KOMPUTER

10th Grade

20 Qs

Python Year 9 Quiz

Python Year 9 Quiz

8th - 10th Grade

19 Qs

Pengayaan Informatika

Pengayaan Informatika

12th Grade

20 Qs

terstruktur

terstruktur

10th Grade

20 Qs

Cuestionario sobre seguridad en línea

Cuestionario sobre seguridad en línea

2nd Grade - University

15 Qs

Python Django - Assessment

Python Django - Assessment

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

alhazen tutorkoding

Used 9+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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?