Class 12 Part 2

Class 12 Part 2

12th Grade

20 Qs

quiz-placeholder

Similar activities

Primitive Types

Primitive Types

10th Grade - University

20 Qs

Accuracy and Precision

Accuracy and Precision

9th - 12th Grade

20 Qs

Java If/else/ switch

Java If/else/ switch

9th - 12th Grade

20 Qs

Accounts Test Basics - Class 12

Accounts Test Basics - Class 12

11th Grade - University

20 Qs

Unity Quiz1

Unity Quiz1

9th - 12th Grade

19 Qs

Sans

Sans

4th - 12th Grade

20 Qs

Mod 5 Vocab

Mod 5 Vocab

7th Grade - University

17 Qs

Accounting: Posting From a Journal to a Ledger Ch 4

Accounting: Posting From a Journal to a Ledger Ch 4

9th - 12th Grade

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