Visual Basic Interface - Algorithmic Problem Solving - Past Exam, Exams of Algorithms and Programming

Main points of this exam paper are: Bizz Bang, Basic Interface, Visual Basic, Youngest Female, Males, Average Age, Sex, Age, Name, Students

Typology: Exams

2012/2013

Uploaded on 03/24/2013

bakula
bakula 🇮🇳

4.4

(5)

35 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Page 1 of 2
CORK INSTITUTE OF TECHNOLOGY
INSTITIÚID TEICNEOLAÍOCHTA CHORCAÍ
Autumn Examinations 2010/11
Module Title: Algorithmic Problem Solving (C.A.)
Module Code: SOFT6001
School: School of Computing & Mathematics
Programme Title: Bachelor of Science in Computing
Bachelor of Science (Honours) in Software Development
Bachelor of Science (Honours) in Software Development & Computer
Networking
Higher Certificate in Science in Computing in Information Technology
Support
Bachelor of Science (Honours) in IT Management
Programme Code: KCOMP_7_Y1
KSDEV_8_Y1
KDNET_8_Y1
KITSU_6_Y1
KITMN_8_Y1
External Examiner(s): Mr. P. Given
Internal Examiner(s): Ms. C. McGuane, Mr. C. Manning, Ms. L. O Sullivan,
Instructions: Answer BOTH questions.
Duration: 2 Hours
Sitting: Autumn 2011
Requirements for this examination:
Note to Candidates: Please check the Programme Title and the Module Title to ensure that you have received the
correct examination.
If in doubt please contact an Invigilator.
pf2

Partial preview of the text

Download Visual Basic Interface - Algorithmic Problem Solving - Past Exam and more Exams Algorithms and Programming in PDF only on Docsity!

Page 1 of 2

CORK INSTITUTE OF TECHNOLOGY

INSTITIÚID TEICNEOLAÍOCHTA CHORCAÍ

Autumn Examinations 2010/

Module Title: Algorithmic Problem Solving (C.A.)

Module Code: SOFT

School: School of Computing & Mathematics

Programme Title: Bachelor of Science in Computing Bachelor of Science (Honours) in Software Development Bachelor of Science (Honours) in Software Development & Computer Networking Higher Certificate in Science in Computing in Information Technology Support Bachelor of Science (Honours) in IT Management

Programme Code: KCOMP_7_Y KSDEV_8_Y KDNET_8_Y KITSU_6_Y KITMN_8_Y

External Examiner(s): Mr. P. Given Internal Examiner(s): Ms. C. McGuane, Mr. C. Manning, Ms. L. O Sullivan,

Instructions: Answer BOTH questions.

Duration: 2 Hours Sitting: Autumn 2011

Requirements for this examination:

Note to Candidates: Please check the Programme Title and the Module Title to ensure that you have received the correct examination. If in doubt please contact an Invigilator.

Page 2 of 2

Question 1. (70 marks)

Write an algorithm that

first inputs

the number of students in a class

and then for each student inputs

the name the age the sex

The program outputs

the average age of the males in the class the name of the youngest female

You may simply use INPUT and OUTPUT commands for the input and output. You need not

concern yourself with the Visual Basic interface.

Question 2. (30 marks)

Write a program that outputs all of the numbers from 1 to 101

but replaces any number evenly divisible by 3 with bizz

and replaces any number evenly divisible by 5 with bang

Numbers evenly divisible by both 3 and 5 are replaced by bizzbang

Eg.1 2 bizz 4 bang bizz 7 8 bizz bang 11 ... bizz bang 101