Share & Revise Any Time

Related Posts

Category: PYTHON REVISION TOUR 1

/15
0 votes, 0 avg
6
Created on

Copy - Copy - PYTHON EXAM 1

PYTHON REVISION TOUR 1

15 QUESTIONS

 

1 / 15

1. Which of the following are symbols used for computation or logical comparison in a program?

    1. Identifiers
    2. Literals
    3. Keywords
    4. Operators

2 / 15

2. Which of the following literal has either True or False value?

    1. Special Literals
    2. Boolean Literals
    3. Numeric Literals
    4. String Literals

3 / 15

3. Which of the following not a token?

    1. Comments
    2. Identifiers
    3. Literals
    4. Operators

4 / 15

4. Which of the following are symbols used in programming languages to organize statement structures and indicate the rhythm of the program?

    1. Operators
    2. Punctuators
    3. Functions
    4. Literals

5 / 15

5. If you want to display the values without decimal place after division, which of the following symbol is used?

    1. /
    2. //
    3. %
    4. **

6 / 15

6. Which of the line of code is a correct statement?

    1. xyz = 10 100 1000
    2. x y z = 10 100 1000
    3. x, y, z = 10, 100, 1000
    4. x y z= 10, 100, 1000

7 / 15

7. Which of the following is correct statement to computer square of variable x in python?

    1. x * 2
    2. x power 2
    3. x ** 2
    4. x // 2

8 / 15

8. Which of the following literals must terminate in one line?

    1. Single line Strings
    2. Multi line strings
    3. Numeric Literals
    4. All of the above

9 / 15

9. Python identifiers are case sensitive.

    1. True
    2. False
    3. Depends on Program
    4. Depends on the computer system

10 / 15

10. Which of the following is an invalid identifier?

    1. CS_class_XII
    2. csclass12
    3. _csclass12
    4. 12CS

11 / 15

11. The different names given to different parts of a program is known as _________

    1. Identifiers
    2. Literals
    3. Keywords
    4. Operators

12 / 15

12. Which of the following are pre-defined or reserved words that convey a special meaning in programming language?

    1. Identifiers
    2. Literals
    3. Keywords
    4. Operators

13 / 15

13. To include non-graphic characters in python, which of the following is used?

    1. Special Literals
    2. Boolean Literals
    3. Escape Character Sequence
    4. Special Literal – None

14 / 15

14. The octal literal and hexadecimal literals start with which of the following symbols resepctively?

    1. O0 and X0
    2. 0O and 0X
    3. Oct0 and Hex0
    4. 0o and 0x

15 / 15

15. The tiny individual unit in python program is known as ___________

    1. Expression
    2. Statement
    3. Token
    4. Comment

Your score is

0%

/15
1 votes, 5 avg
20
Created on

PYTHON EXAM 1

PYTHON REVISION TOUR 1

15 QUESTIONS

 

1 / 15

1. To include non-graphic characters in python, which of the following is used?

    1. Special Literals
    2. Boolean Literals
    3. Escape Character Sequence
    4. Special Literal – None

2 / 15

2. The tiny individual unit in python program is known as ___________

    1. Expression
    2. Statement
    3. Token
    4. Comment

3 / 15

3. The octal literal and hexadecimal literals start with which of the following symbols resepctively?

    1. O0 and X0
    2. 0O and 0X
    3. Oct0 and Hex0
    4. 0o and 0x

4 / 15

4. If you want to display the values without decimal place after division, which of the following symbol is used?

    1. /
    2. //
    3. %
    4. **

5 / 15

5. Which of the following are symbols used in programming languages to organize statement structures and indicate the rhythm of the program?

    1. Operators
    2. Punctuators
    3. Functions
    4. Literals

6 / 15

6. Which of the line of code is a correct statement?

    1. xyz = 10 100 1000
    2. x y z = 10 100 1000
    3. x, y, z = 10, 100, 1000
    4. x y z= 10, 100, 1000

7 / 15

7. Python identifiers are case sensitive.

    1. True
    2. False
    3. Depends on Program
    4. Depends on the computer system

8 / 15

8. Which of the following literals must terminate in one line?

    1. Single line Strings
    2. Multi line strings
    3. Numeric Literals
    4. All of the above

9 / 15

9. Which of the following are symbols used for computation or logical comparison in a program?

    1. Identifiers
    2. Literals
    3. Keywords
    4. Operators

10 / 15

10. Which of the following not a token?

    1. Comments
    2. Identifiers
    3. Literals
    4. Operators

11 / 15

11. Which of the following literal has either True or False value?

    1. Special Literals
    2. Boolean Literals
    3. Numeric Literals
    4. String Literals

12 / 15

12. The different names given to different parts of a program is known as _________

    1. Identifiers
    2. Literals
    3. Keywords
    4. Operators

13 / 15

13. Which of the following is an invalid identifier?

    1. CS_class_XII
    2. csclass12
    3. _csclass12
    4. 12CS

14 / 15

14. Which of the following are pre-defined or reserved words that convey a special meaning in programming language?

    1. Identifiers
    2. Literals
    3. Keywords
    4. Operators

15 / 15

15. Which of the following is correct statement to computer square of variable x in python?

    1. x * 2
    2. x power 2
    3. x ** 2
    4. x // 2

Your score is

0%

/15
0 votes, 0 avg
5
Created on

Copy - PYTHON EXAM 1

PYTHON REVISION TOUR 1

15 QUESTIONS

 

1 / 15

1. Which of the following is correct statement to computer square of variable x in python?

    1. x * 2
    2. x power 2
    3. x ** 2
    4. x // 2

2 / 15

2. Which of the following literal has either True or False value?

    1. Special Literals
    2. Boolean Literals
    3. Numeric Literals
    4. String Literals

3 / 15

3. Which of the following are symbols used for computation or logical comparison in a program?

    1. Identifiers
    2. Literals
    3. Keywords
    4. Operators

4 / 15

4. Python identifiers are case sensitive.

    1. True
    2. False
    3. Depends on Program
    4. Depends on the computer system

5 / 15

5. Which of the following is an invalid identifier?

    1. CS_class_XII
    2. csclass12
    3. _csclass12
    4. 12CS

6 / 15

6. The different names given to different parts of a program is known as _________

    1. Identifiers
    2. Literals
    3. Keywords
    4. Operators

7 / 15

7. Which of the following literals must terminate in one line?

    1. Single line Strings
    2. Multi line strings
    3. Numeric Literals
    4. All of the above

8 / 15

8. To include non-graphic characters in python, which of the following is used?

    1. Special Literals
    2. Boolean Literals
    3. Escape Character Sequence
    4. Special Literal – None

9 / 15

9. Which of the following are symbols used in programming languages to organize statement structures and indicate the rhythm of the program?

    1. Operators
    2. Punctuators
    3. Functions
    4. Literals

10 / 15

10. Which of the line of code is a correct statement?

    1. xyz = 10 100 1000
    2. x y z = 10 100 1000
    3. x, y, z = 10, 100, 1000
    4. x y z= 10, 100, 1000

11 / 15

11. Which of the following not a token?

    1. Comments
    2. Identifiers
    3. Literals
    4. Operators

12 / 15

12. The tiny individual unit in python program is known as ___________

    1. Expression
    2. Statement
    3. Token
    4. Comment

13 / 15

13. The octal literal and hexadecimal literals start with which of the following symbols resepctively?

    1. O0 and X0
    2. 0O and 0X
    3. Oct0 and Hex0
    4. 0o and 0x

14 / 15

14. Which of the following are pre-defined or reserved words that convey a special meaning in programming language?

    1. Identifiers
    2. Literals
    3. Keywords
    4. Operators

15 / 15

15. If you want to display the values without decimal place after division, which of the following symbol is used?

    1. /
    2. //
    3. %
    4. **

Your score is

0%


Share & Revise Any Time

Leave a Reply