Python Django - Assessment

Python Django - Assessment

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Django-quiz

Django-quiz

5th Grade - University

20 Qs

Web-programiranje

Web-programiranje

12th Grade

20 Qs

Django Quiz

Django Quiz

12th Grade

15 Qs

PWD_Lecture_№1

PWD_Lecture_№1

9th - 12th Grade

21 Qs

032_Cross-site Scripting – CompTIA Security+ SY0-701 – 2.3

032_Cross-site Scripting – CompTIA Security+ SY0-701 – 2.3

9th Grade - University

20 Qs

Data handling using pandas and Data visualization

Data handling using pandas and Data visualization

12th Grade

20 Qs

Mobile app development principles

Mobile app development principles

10th Grade

17 Qs

Flask Basics Assessment

Flask Basics Assessment

12th Grade

20 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?