• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 10 pages
Exam (elaborations)

Usfp Information Technology B

Document preview thumbnail
Preview 2 out of 10 pages

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

Content preview

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

Document information

Uploaded on
August 5, 2024
Number of pages
10
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$14.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
StudyCenter1
4.3
(29)
Sold
232
Followers
91
Items
3811
Last sold
1 month ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions