Lab-PCLP-General

Lab-PCLP-General

University

42 Qs

quiz-placeholder

Similar activities

vcoIrXnCyQ88DybMEjDY0tQO8zXh9OTAJtlWqaZw

vcoIrXnCyQ88DybMEjDY0tQO8zXh9OTAJtlWqaZw

University

40 Qs

YZT JR Exam 1

YZT JR Exam 1

University

40 Qs

Module4QuizLabWth230

Module4QuizLabWth230

University

40 Qs

Forensics Chapter 4

Forensics Chapter 4

11th Grade - University

42 Qs

Statistics Final Exam

Statistics Final Exam

University

40 Qs

Statistics Final Exam Review

Statistics Final Exam Review

University

40 Qs

java

java

University

47 Qs

Prueba 2 FundComp Programación

Prueba 2 FundComp Programación

University

40 Qs

Lab-PCLP-General

Lab-PCLP-General

Assessment

Quiz

Science

University

Hard

Created by

Catalin Mitroi

FREE Resource

42 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a correct command line syntax for checking if python is installed on your computer?

python --version

python ##version

python version

py version

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct file extension for Python files?

.pth

.pytn

.py

.ppt

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which character is used to define a Python comment:

//

#

'

/*

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What is a correct way to declare a Python variable?

var x = 'String'

x = 2.8

x = 5

#x = 'Ana are mere'

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

How can you declare a string variable?

x = 'String'

x = "Str"

str x = '23'

x = '23'

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Variable names are not case-sensitive. (a = 5 is the same as A = 5 ?)

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a correct syntax to add the value 6, to 3 variables in one statement?

x , y , z = 6

x = y , z = 6

x = y = z = 6

x = y = z = 3

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?