Test
Operators and Expressions
Este test tiene tiempo límite, así que se abre en el reproductor de siempre.
Preguntas del test (25)
1How many types of Operators are there in Python ?
- A7
- B8
- C6
- D5
2Which of the following is/are Arithmetic Operators ?
- A+
- B>>
- C**
- D%
3Which of the following is not a Relational Operator ?
- A!=
- B==
- C=>
- D<=
4The two unary operators are [blank_start]_____[blank_end] and [blank_start]_____[blank_end] .
- A+
- B-
5Which of the following options contain only Bitwise operators ?
- A>> , << , ^ , **
- B>> , >= , & , <<
- C<< , >> , & , ~
- D<< , & , | , ^
6What is the function of << operator ?
- Ashift number of bits towards right
- Bshift number of bits towards center
- Cshift number of bits towards left
- Dmake true value false
7The value of 0 >> 2 is 2.
- AVerdadero
- BFalso
8Evaluate the expression:
2+3**2-4/2- A9.0
- B16.0
- C3.0
- D4.5
9What is the Value of 4 >> 1 ?
- A2
- B3
- C0
- D4
10How many Logical operators are there in Python?
- A2
- B3
- C4
- D1
11in and not in are [blank_start]_________[blank_end] operators.
- AMembership
12"not is" is a Membership Operator.
- AVerdadero
- BFalso
13+ has higher precedence than -
- AVerdadero
- BFalso
14Which has the highest precedence among the following?
- A/
- Bunary +
- C+
- D==
15Which of the following is True ?
- A6**2 = 12
- B6//4 = 1.5
- C6/4 = 1
- D6/2**2 = 1.5
16True and True
- AVerdadero
- BFalso
17False and True
- AVerdadero
- BFalso
18True or False
- AVerdadero
- BFalso
19(1 < 2) and (1 == 1)
- AVerdadero
- BFalso
20(20 and 4) or (20 and 0) evaluates to 4
- AVerdadero
- BFalso
21The value of 4 ^ 2 is 9
- AVerdadero
- BFalso
22Value of 2 ^ 3 is
- A1
- B14
- C2
- D3
23Value of 4 & 6 is
- A4
- B6
- C2
- D12
24Evaluate:
(4+2)//2+3**1-10+6/3- A-2
- B-2.0
- C-1
- D2.0
25Evaluate:
(3>>1>>4)+6//2-4- A-1
- B-1.0
- C1
- D1.0
Información
- Descripción
- Coding Python Test sobre Operators and Expressions, creado por PathaPadha Support el 26/10/2020.
- Autor
- PathaPadha Support
- Idioma
- English
- Visitas
- 1
- Etiquetas
- Valoración
- Aún sin valoraciones Valora este test