100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4.2 TrustPilot
logo-home
Examen

PSU COMPUTER SCIENCE 101 EXAM 1 STUDY QUESTIONS WITH 100% CORRECT ANSWERS

Puntuación
-
Vendido
-
Páginas
20
Grado
A+
Subido en
01-12-2025
Escrito en
2025/2026

PSU COMPUTER SCIENCE 101 EXAM 1 STUDY QUESTIONS WITH 100% CORRECT ANSWERS

Institución
CS 101
Grado
CS 101










Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Escuela, estudio y materia

Institución
CS 101
Grado
CS 101

Información del documento

Subido en
1 de diciembre de 2025
Número de páginas
20
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

Vista previa del contenido

Which statement describes the punctuation conventions used for character data in
Python?
a. When you initialize or assign a character literal to a variable, the convention is to
surround the literal with double quotes.
b. When you initialize or assign a character literal to a variable, you are not allowed to
use single quotes.
c. When you initialize or assign a character literal to a variable, the convention is to
surround the literal with asterisks.
d. When you initialize or assign a character literal to a variable, the convention is to
simply place the literal value after the equals sign.

,Give this one a try later!


a. When you initialize or assign a character literal to a variable, the
convention is to surround the literal with double quotes.




What would be displayed by the following code sequence?


a = [1, 2, 3]
b=a
a.append(4)
b.append(4)
print(b)


a. [4, 1, 2, 3]
b. [1 2, 3, 4]
c. [1, 2, 3, 4, 4]
d. [1, 2, 3]


Give this one a try later!


c. [1, 2, 3, 4, 4]




Suppose you create a Python list containing the elements "J", "A", "W", "S", and 3, in that
order. What are the index values of the first and last elements of this list?
a. 1 and 5
b. 0 and 3
c. 0 and 4
d. 1 and 3


Give this one a try later!

, c. 0 and 4




The primary difference between / and // in Python 3 is that
a. / depends on the values computed upon; // does not
b. // always results in an integer; / may result in fractions or decimals
c. / gives a quotient and // gives a remainder


Give this one a try later!


b. // always results in an integer; / may result in fractions or decimals




Which statement should you place in the blank of the following Python code if you
want to add an assignment statement that changes the value of the variable
apple_pies?
apple_pies = 4
_____
a. apple_pies = apple_pies + 2
b. lemon_pies = apple_pies + 2
c. pies = "apple pies"
d. apple_pies(5)


Give this one a try later!


a. apple_pies = apple_pies + 2




When using IDLE, you choose shell mode _____.
a. in order to save your work for future use
b. by saving your file and then pressing F5
$10.00
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada

Conoce al vendedor

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.
TestITandFixIT Johns Hopkins University
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
34
Miembro desde
11 meses
Número de seguidores
0
Documentos
4729
Última venta
3 semanas hace

3.3

6 reseñas

5
3
4
0
3
1
2
0
1
2

Recientemente visto por ti

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