Class 12 Part 2

Class 12 Part 2

12th Grade

20 Qs

quiz-placeholder

Similar activities

KOHLBERG'S 6 STAGES OF MORAL DEVELOPMENT

KOHLBERG'S 6 STAGES OF MORAL DEVELOPMENT

11th - 12th Grade

20 Qs

6.2 Confidence Intervals

6.2 Confidence Intervals

12th Grade

20 Qs

Pandas Series & DataFrames

Pandas Series & DataFrames

12th Grade

20 Qs

Game Consoles

Game Consoles

5th - 12th Grade

20 Qs

Java Primitive Unit 1-A

Java Primitive Unit 1-A

12th Grade

22 Qs

SPM

SPM

1st Grade - University

20 Qs

Banking

Banking

11th - 12th Grade

17 Qs

Class 12 Part 2

Class 12 Part 2

Assessment

Quiz

Other

12th Grade

Medium

Created by

Rajitha V

Used 9+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an invalid variable
my_string_1
1st_string
foo
_

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why are local variable names beginning with an underscore discouraged?
they are used to indicate a private variables of a class
they confuse the interpreter
they slow down execution
none

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a keyword?
eval
assert
nonlocal
pass

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the correct operator for power(xy )?
X^y
X**y
X^^y
none

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of these is floor division?
/
//
%
none

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these in not a core data type?
Lists
Dictionary
Tuples
class

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given a function that does not return any value, What value is thrown by default when executed in shell.
int
bool
void
none

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?