View Mode
Q: 1
How can you assign number 1,000,000 (int type) to the variable in Python? (select 2)
Options
Q: 2

DRAG DROP Arrange the code boxes in the correct positions in order to obtain a loop which executes its body with the level variable going through values 5, 1, and 1 (in the same order). Python PCEP 30 02 question

Drag & Drop
Q: 3
What will be the value of X in the following Python expression? X = 2+9*((3*12)-8)/10
Options
Q: 4

DRAG DROP Drag and drop the code boxes in order to build a program which prints Unavailable to the screen. (Note: one code box will not be used.) Python PCEP 30 02 question

Drag & Drop
Q: 5
The following variable was created: course_name = 'python interview' in a global scope. How can you remove this variable? (select 3)
Options
Q: 6
How many stars will the following code send to the monitor? x = 0 while x < 6: x += 1 if x % 2 == 0: continue print('*')
Options
Q: 7
What is scope?
Options
Q: 8

DRAG DROP Assuming that the phonc_dir dictionary contains namemumber pairs, arrange the code boxes to create a valid line of code which retrieves Martin Eden's phone number, and assigns it to the number variable. Python PCEP 30 02 question

Drag & Drop
Q: 9
Why are local variable names beginning with an underscore discouraged?
Options
Q: 10
The following list is given: tech_names = ['python', 'django', 'pandas'] How do you remove all items from the list? (select 2)
Options
Question 1 of 20 · Page 1 / 2

Premium Access Includes

  • Quiz Simulator
  • Exam Mode
  • Progress Tracking
  • Question Saving
  • Flash Cards
  • Drag & Drops
  • 3 Months Access
  • PDF Downloads
Get Premium Access
Scroll to Top

FLASH OFFER

Days
Hours
Minutes
Seconds

avail 10% DISCOUNT on YOUR PURCHASE