Skip to document

Programming 1A Exam - exam

exam
Course

Programming

119 Documents
Students shared 119 documents in this course
University

Damelin

Academic year: 2022/2023
Uploaded by:
Anonymous Student
This document has been uploaded by a student, just like you, who decided to remain anonymous.
Varsity College

Comments

Please sign in or register to post comments.

Related Studylists

programming

Preview 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:

  1. Section A : 30 marks
  2. Section B : 20 marks
  3. 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:

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

  3. No extra time will be allowed should a student arrive late.

  4. All learners must sign the Attendance Register for the examination on arrival.

  5. It is the responsibility of learners to familiarise themselves with the examination rules prior to sitting for the examination.

  6. All examinations are to be written on the date and time officially stipulated by the College.

  7. It is the responsibility of learners to ensure that they are writing the correct paper and that the question paper is complete

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

  9. Learners may not handle cell phones or wallets during the exam.

  10. No weapon of any description may be taken into the assessment room.

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

  12. Smoking is not permitted and learners will not be allowed to leave the examination room in order to smoke

  13. Once the examination has commenced, all conversation of any form between candidates must cease until after candidates have left the room, after the examination.

  14. Only the official College examination book, as supplied by the College, may be used.

  15. Learners must ensure that their student number is written on the answer book.

  16. Learners are responsible for ensuring that they follow the instructions in the examination for submitting their answers.

  17. Please read the instruction appearing on the examination paper carefully

  18. The number of every question must be clearly indicated at the top of every answer.

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

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

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

  22. Candidates may not act dishonestly in any respect.

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

  24. Which one is not an example of a key word in Visual Basic A. Event B. Public C. Get D. Month

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

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

Was this document helpful?

Programming 1A Exam - exam

Course: Programming

119 Documents
Students shared 119 documents in this course

University: Damelin

Was this document helpful?
Damelin PRG110 1
TITLE
HET: DIPLOMA: INFORMATION TECHNOLOGY
SUBJECT
PROGRAMMING 1A
SUBJECT CODE
PRG110
TEST/EXAM
EXAM
SEMESTER
1ST
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:
1. Section A : 30 marks
2. Section B : 20 marks
3. 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.