- Information
- AI Chat
Programming 1A Exam - exam
Programming
Damelin
Related Studylists
programmingPreview text
TITLE HET: DIPLOMA: INFORMATION TECHNOLOGY
SUBJECT PROGRAMMING 1A
SUBJECT CODE PRG
TEST/EXAM EXAM
SEMESTER 1 ST
DATE WRITTEN 29 JUNE 2017
TOTAL MARKS 100
DURATION 1 HOUR 30 MINUTES
PASS MARK 50%
WEIGHTING 50%
EXAMINER MISS NZ DUBE
MODERATOR MISS Z KHUMALO
REQUIREMENTS:
Learner Requirements: Stationery and Examination Book Equipment Requirements: None
This paper consists of:
- Section A : 30 marks
- Section B : 20 marks
- Section C : 50 marks
Please answer ALL questions.
PLEASE READ THE ASSESSMENT RULES AND REGULATIONS THAT FOLLOW
Learners are warned that contravening any of the examination rules or disobeying the instructions of an invigilator could result in the examination being declared invalid. Disciplinary measures will be taken which may result in the students’ expulsion from Damelin.
ASSESSMENT RULES AND REGULATIONS
Please ensure that you have read and fully understand the following assessment rules and regulations prior to commencing with your assessment:
To be permitted access to the examination, a learner must arrive with:
- an Identity Document or other official proof of identity (for example,
- a student card, passport or driver's licence card with photo); and
- the required exam stationery.
No learner may enter the examination room more than 30 minutes after the examination sitting has commenced and no candidate may leave the room less than one hour after the examination sitting has commenced.
No extra time will be allowed should a student arrive late.
All learners must sign the Attendance Register for the examination on arrival.
It is the responsibility of learners to familiarise themselves with the examination rules prior to sitting for the examination.
All examinations are to be written on the date and time officially stipulated by the College.
It is the responsibility of learners to ensure that they are writing the correct paper and that the question paper is complete
Cell phones must be switched off prior to entering the exam venue. Cell phones and wallets may be placed under candidates' chairs rather than at the front of the room.
Learners may not handle cell phones or wallets during the exam.
No weapon of any description may be taken into the assessment room.
All personal belongings are to be placed at the front of the examination room. Personal belongings brought to the examination are at the owner's risk.
Smoking is not permitted and learners will not be allowed to leave the examination room in order to smoke
Once the examination has commenced, all conversation of any form between candidates must cease until after candidates have left the room, after the examination.
Only the official College examination book, as supplied by the College, may be used.
Learners must ensure that their student number is written on the answer book.
Learners are responsible for ensuring that they follow the instructions in the examination for submitting their answers.
Please read the instruction appearing on the examination paper carefully
The number of every question must be clearly indicated at the top of every answer.
No pages may be torn out of the answer book. All question papers and scrap paper must be handed to the invigilator after the examination.
Learners finishing earlier are to leave the examination room as quietly as possible on the instruction of the invigilator, and may not talk until outside the building where the examination is being written.
Only under exceptional circumstances will a learner be permitted to leave the examination room during the examination, and if the invigilator gives permission. An invigilator must accompany the learner. Only one learner at a time may be absent from the examination room.
Candidates may not act dishonestly in any respect.
Console application is defined as A. Application that have a graphical user interface. B. Application that do not have a graphical user interface. C. Application without input from the keyboard. D. None of the above
Which one is not an example of a key word in Visual Basic A. Event B. Public C. Get D. Month
Which one shows an example of a comment in Visual Basic? A. “Welcome to Visual world ” B. ‘Welcome to Visual world. C.? Welcome to Visual world D.! Welcome to Visual world
Blank lines, space characters and tab characters are used throughout a program to make it easier to read. Collectively these are called.... A. Blank space characters B. Whitespace characters C. Program characters D. Blank characters
Question 2 (10)
True or False
2 A control is a form 2 Not every IF statement should have an END IF. 2 A button, textbox and menu are examples of form controls 2 Drawing a user interface is the first you do when developing an application 2 Boolean is a data type in VB 2 VB is an event driven programming language 2 Visual Basic was developed for the Microsoft Framework/ Platform 2 Is it true that when you double click a control the name will change? 2 A data type describes what values a variable can hold. 2 Before using a variable you should declare it.
Question 3 (10)
Column A Column B
A. Inheritance 3 these are Single, Double, Char, Long, Integer B. Object Oriented Programming
3 Deriving a class from another class
C. Form Property 3 Can hold true or false values/variables D. Controls 3 Stores a single character E. Data types 3 Is an attribute that sets form characteristics? F. Variables 3 Used to store information used in the application G. Boolean 3 Is a data type that is used for decimal numbers H. Double 3 Can store a large number of variables under one name. I. Array 3 These are buttons, textboxes, label J. Char 3 Developing applications from objects. E. functions and structures
SECTION B [10 MARKS]
Question 4 (10) 4 With the aid of an example define the following terms (3) a. Object oriented programming. b. Compiler. c. Variable. 4 Describe the following VB Programming concepts; include examples to demonstrate your understanding of the concept. (4) a. Event driven programming b. Event procedure c. General procedure d. Option explicit
Question 6 (30)
6 Write Visual Basic code that has two checkboxes. If the first checkbox (Square root checkbox) is selected than the program will calculate a square root of the number entered by a user using an input box.
Else if the second checkbox (Cube root checkbox) is selected the program calculates the cube root of the number entered.
The following figure depicts the GUI of the program. (30)
TOTAL 100
Programming 1A Exam - exam
Course: Programming
University: Damelin
- Discover more from:ProgrammingDamelin119 Documents
- More from:ProgrammingDamelin119 Documents