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

CSC121 PYTHON EXAM QUESTIONS WITH CORRECT ANSWERS

Puntuación
-
Vendido
-
Páginas
10
Grado
A+
Subido en
17-06-2025
Escrito en
2024/2025

CSC121 PYTHON EXAM QUESTIONS WITH CORRECT ANSWERS /. Python formats all floating-point numbers to two decimal places when outputting with the print statement. TRUE OR FALSE? - Answer-FALSE /.Comments in Python begin with the # character. TRUE OR FALSE - Answer-TRUE /.What symbol is used to mark the beginning and end of a string? a quote mark (") a slash (/) a comma (,) an asterisk (*) - Answer-A quote mark /.The ________ function reads a piece of data that has been entered at the keyboard and returns that piece of data, as a string, back to the program. input() str_input() output() eval_input() - Answer-input() /.What is the informal language, used by programmers use to create models of programs, that has no syntax rules and is not meant to be compiled or executed? flowchart algorithm pseudocode source code - Answer-pseudocode /.result = 8 * 2 + 8 // 4 - Answer-18 /.The % symbol is the remainder operator, also known as the ________ operator. - Answer-modulus /.After the execution of the following statement, the variable sold will reference the numeric literal value as a(n) ________ data = 256.752 float currency int str - Answer-float /.What is the output of the following print statement?print('I'm ready to begin') Im ready to begin I'm ready to begin I'm ready to begin 'I'm ready to begin' - Answer-I'm ready to begin /.n PyCharm, what feature will alter a code file so that it conforms to the P PEP 8 coding style guide? A. Refactor B. Reformat Code C. Debug D. Help - Answer-Reformat Code /.Computer programs typically perform three steps: input is received, some process is performed on the input, and output is produced. TRUE OR FALSE - Answer-TRUE /.Which of the following is the correct if clause to determine whether choice is anything other than 10? if choice != 10 if not(choice 10 and choice 10): if choice != 10: if choice 10: - Answer-if choice != 10: /.Python allows you to compare strings, but it is not case sensitive. TRUE OR FALSE - Answer-FALSE /.Which of the following is the correct if clause to determine whether y is in the range 10 through 50, inclusive? if y = 10 or y = 50: if y = 10 and y = 50: if 10 y or y 50: if 10 y and y 50: - Answer-if y = 10 and y = 50: /.Python uses the same symbols for the assignment operator as for the equality operator. TRUE OR FALSE - Answer-FALSE

Mostrar más Leer menos
Institución
CSC121 PYTHON
Grado
CSC121 PYTHON

Vista previa del contenido

CSC121 PYTHON EXAM QUESTIONS WITH CORRECT
ANSWERS

/. Python formats all floating-point numbers to two decimal places when outputting with
the print statement. TRUE OR FALSE? - Answer-FALSE

/.Comments in Python begin with the # character. TRUE OR FALSE - Answer-TRUE

/.What symbol is used to mark the beginning and end of a string?

a quote mark (")
a slash (/)
a comma (,)
an asterisk (*) - Answer-A quote mark

/.The ________ function reads a piece of data that has been entered at the keyboard
and returns that piece of data, as a string, back to the program.

input()
str_input()
output()
eval_input() - Answer-input()

/.What is the informal language, used by programmers use to create models of
programs, that has no syntax rules and is not meant to be compiled or executed?

flowchart
algorithm
pseudocode
source code - Answer-pseudocode

/.result = 8 * 2 + 8 // 4 - Answer-18

/.The % symbol is the remainder operator, also known as the ________ operator. -
Answer-modulus

/.After the execution of the following statement, the variable sold will reference the
numeric literal value as a(n) ________ data

type.sold = 256.752

float
currency
int

, str - Answer-float

/.What is the output of the following print statement?print('I\'m ready to begin')

Im ready to begin
I'm ready to begin
I\'m ready to begin
'I\'m ready to begin' - Answer-I'm ready to begin

/.n PyCharm, what feature will alter a code file so that it conforms to the Python.org PEP
8 coding style guide?

A.
Refactor
B.
Reformat Code
C.
Debug
D.
Help - Answer-Reformat Code

/.Computer programs typically perform three steps: input is received, some process is
performed on the input, and output is produced. TRUE OR FALSE - Answer-TRUE

/.Which of the following is the correct if clause to determine whether choice is anything
other than 10?

if choice != 10
if not(choice < 10 and choice > 10):
if choice != 10:
if choice <> 10: - Answer-if choice != 10:

/.Python allows you to compare strings, but it is not case sensitive. TRUE OR FALSE -
Answer-FALSE

/.Which of the following is the correct if clause to determine whether y is in the range 10
through 50, inclusive?

if y >= 10 or y <= 50:
if y >= 10 and y <= 50:
if 10 < y or y > 50:
if 10 > y and y < 50: - Answer-if y >= 10 and y <= 50:

/.Python uses the same symbols for the assignment operator as for the equality
operator. TRUE OR FALSE - Answer-FALSE

Escuela, estudio y materia

Institución
CSC121 PYTHON
Grado
CSC121 PYTHON

Información del documento

Subido en
17 de junio de 2025
Número de páginas
10
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

$14.49
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.
kartelodoc Harvard University
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
133
Miembro desde
1 año
Número de seguidores
6
Documentos
8139
Última venta
2 días hace

Our store offers a wide selection of materials on various subjects and difficulty levels, created by experienced teachers. We specialize on NURSING,WGU,ACLS USMLE,TNCC,PMHNP,ATI and other major courses, Updated Exam, Study Guides and Test banks. If you don't find any document you are looking for in this store contact us and we will fetch it for you in minutes, we love impressing our clients with our quality work and we are very punctual on deadlines. Please go through the sets description appropriately before any purchase and leave a review after purchasing so as to make sure our customers are 100% satisfied. I WISH YOU SUCCESS IN YOUR EDUCATION JOURNEY

Lee mas Leer menos
3.3

23 reseñas

5
8
4
1
3
7
2
3
1
4

Documentos populares

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