• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 2 fuera de 9 páginas
Examen

Computer Programming: Python - Module 2 (Terms) UPDATED ACTUAL Exam Questions and CORRECT Answers

Document preview thumbnail
Vista previa 2 fuera de 9 páginas

Computer Programming: Python - Module 2 (Terms) UPDATED ACTUAL Exam Questions and CORRECT Answers assignment operator - CORRECT ANSWER with the value of b) == - CORRECT ANSWER = is an assignment operator (a = b assigns a == is the question are these values equal? (a == b compares a and b) It is a binary operator with left-sided binding. It needs two arguments and checks if they a

Vista previa del contenido

Computer Programming: Python - Module 2
(Terms) UPDATED ACTUAL Exam
Questions and CORRECT Answers
assignment operator - CORRECT ANSWER = is an assignment operator (a = b assigns a
with the value of b)


== - CORRECT ANSWER == is the question are these values equal? (a == b compares a
and b)


It is a binary operator with left-sided binding. It needs two arguments and checks if they are
equal.


Unary - CORRECT ANSWER +-
**
*/%


Binary - CORRECT ANSWER +-
< <= > >=
== !=


conditional instruction (or conditional statement) - CORRECT ANSWER This conditional
statement consists of the following, strictly necessary, elements in this and this order only:


the if keyword;


one or more white spaces;

, an expression (a question or an answer) whose value will be interpreted solely in terms of True
(when its value is non-zero) and False (when it is equal to zero);


a colon followed by a newline;


an intended instruction or instructions (at least one instruction is absolutely required); the
indentation may be achieved in two ways - by inserting a particular number of spaces, or by
using the tab character (the latter way is recommended); note: if there is more than one
instruction in the indented part, the indentation should be the same in all lines; it may look the
same if you use tabs mixed with spaces, but it's important to make all indentations exactly the
same)


elif - CORRECT ANSWER used to check more than just one condition, and to stop when
the first statement which is true is found.


pseudocode - CORRECT ANSWER a high-level description of the actions of a program or
algorithm, using a mixture of English and informal programming language syntax


logical operators - CORRECT ANSWER operators to build conjunctions and disjunctions



conjunction - CORRECT ANSWER Something depends on the simultaneous fulfillment
of two conditions. Or in the language of logic, a connection of conditions.


disjunction - CORRECT ANSWER In logic, something depends on at least one of two
conditions.


bitwise operators - CORRECT ANSWER operators that allow you to manipulate single
bits of data
& (ampersand) bitwise conjunction
| (bar) bitwise disjunction
~ (tilde) bitwise negation

Información del documento

Subido en
11 de julio de 2025
Número de páginas
9
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$11.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
Vendido
18
Seguidores
1
Artículos
4641
Última venta
2 meses hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes