• ¿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 10 páginas
Examen

Usfp Information Technology B

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

USFP INFORMATION TECHNOLOGY B (Programming) Programming Fundamentals with Python and Java SAMPLE Final Examination Winter Semester, 2017 Date of Notification: Date: Weighting: Task Duration: Task Description: Monday 30 October 2017 Exam period 16/11/2017 -1/12/2017 20% of the course assessment 2.0 hours plus 10 minutes reading time The examination comprises two parts. Part A : 10 multiple choice questions. Each question is worth one mark each. Answer all questions on the paper provided. Part B: 4 long Answer questions. Answer all questions in the space provided. Part B is worth 20 marks in total. Total Marks: 30 marks Instructions to Students: • Answer all Part A multiple choice questions online • AllPart B questions are to be answered in the examination booklet provided. • Calculators are NOT allowed. • This section of the ITB examination accounts for approximately 20% of this subject's assessment. 1 | P a ge Taylors College USFP Semester 2, 2017 Part A. Multiple Choice Questions (12 Marks) Mark your choice of correct answer wither by indicating with a tick ( ) on the marksheet supplied QUESTION 1. What is the output of the Python command : type(5!=3) A. B. type 'str' type 'bool' C. D. type 'float' type 'int' QUESTION 2. What does the following Python function do? def detector(signal, reference): if signal = reference: return 1 A. elif signal reference: return 0 The function compares two values and digitizes the output as either 1 or 0 depending on whether the signal is greater than or equal to, or less than a reference value B. C. D. The function writes the signal value to a reference value

Vista previa del contenido

UNIVERSTY OF SYDNEY FOUNDATION PROGRAM

USFP INFORMATION TECHNOLOGY B
(Programming)
Programming Fundamentals with Python and Java

SAMPLE Final Examination
Winter Semester, 2017

Date of Notification: Monday 30 October 2017

Date: Exam period 16/11/2017 -1/12/2017

Weighting: 20% of the course assessment

Task Duration: 2.0 hours plus 10 minutes reading time

Task Description: The examination comprises two parts.

Part A : 10 multiple choice questions. Each question is worth one mark each. Answer all
questions on the paper provided.

Part B: 4 long Answer questions. Answer all questions in the space provided. Part B is worth
20 marks in total.



Total Marks: 30 marks

Instructions to Students:

• Answer all Part A multiple choice questions online
• AllPart B questions are to be answered in the examination booklet provided.
• Calculators are NOT allowed.
• This section of the ITB examination accounts for approximately 20% of this subject's
assessment.



1|Page Taylors College USFP Semester 2, 2017

, Part A. Multiple Choice Questions (12 Marks)

Mark your choice of correct answer wither by indicating with a tick ( ) on the marksheet supplied

QUESTION 1.

What is the output of the Python command :

>>>type(5!=3)


A. <type 'str'>
B. <type 'bool'>
C. <type 'float'>
D. <type 'int'>


QUESTION 2.

What does the following Python function do?

>>>def detector(signal, reference):
if signal >= reference:
return 1
elif signal < reference:
return 0


A. The function compares two values and digitizes the output as either 1 or 0

depending on whether the signal is greater than or equal to, or less than a reference

value

B. The function writes the signal value to a reference value and prints 1,

otherwise writes the reference value to the signal value and prints 0

C. The function does nothing because ‘signal’ and ‘reference’ variables are

not defined

D. Thefunction does nothing because the function has incorrect syntax




2|Page Taylors College USFP Semester 2, 2017

Información del documento

Subido en
5 de agosto de 2024
Número de páginas
10
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$14.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.
StudyCenter1
4.3
(29)
Vendido
232
Seguidores
91
Artículos
3811
Última venta
1 mes 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