100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
USFP INFORMATION TECHNOLOGY B $14.49   Add to cart

Exam (elaborations)

USFP INFORMATION TECHNOLOGY B

 2 views  0 purchase
  • Course
  • USFP INFORMATION TECHNOLOGY
  • Institution
  • USFP INFORMATION TECHNOLOGY

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 2...

[Show more]

Preview 2 out of 10  pages

  • August 5, 2024
  • 10
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • USFP INFORMATION TECHNOLOGY
  • USFP INFORMATION TECHNOLOGY
avatar-seller
StudyCenter1
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

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller StudyCenter1. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $14.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

74735 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$14.49
  • (0)
  Add to cart