
Python Django - Assessment

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
alhazen tutorkoding
Used 9+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
In sayHello() function, there a parameter called . . .
name
hello
def
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
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
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
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
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
Similar Resources on Wayground
17 questions
GCSE Computer Science - Python Programming Concepts

Quiz
•
9th - 11th Grade
20 questions
Intro to Python Vocabulary

Quiz
•
7th - 12th Grade
15 questions
Quiz Koding untuk Siswa SMK

Quiz
•
10th Grade
25 questions
laravel smt 2 kuis 1

Quiz
•
11th Grade
19 questions
Mobile App Dev Trivia

Quiz
•
9th - 12th Grade
20 questions
Python Basics ;)

Quiz
•
11th Grade
15 questions
UJIAN KOPETENSI RPL

Quiz
•
12th Grade
20 questions
Tin 10 - Bài 12 CDF - Kiểu dữ liệu xâu kí tự

Quiz
•
10th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
50 questions
Trivia 7/25

Quiz
•
12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
6 questions
RL.10.1 Cite Evidence

Quiz
•
10th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
14 questions
Algebra 1 SOL Review #1

Quiz
•
9th Grade