Python Django - Assessment

Python Django - Assessment

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Mobile app development principles

Mobile app development principles

10th Grade

17 Qs

Latihan Akhir Semester SIMDIG

Latihan Akhir Semester SIMDIG

10th Grade

15 Qs

Software

Software

7th - 9th Grade

20 Qs

Javascript 2

Javascript 2

10th Grade

20 Qs

Class XI Basics

Class XI Basics

11th - 12th Grade

15 Qs

Control de Flujo en Python

Control de Flujo en Python

9th Grade

15 Qs

App Inventor

App Inventor

10th Grade

15 Qs

Coding Quiz

Coding Quiz

6th - 10th Grade

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?