Skip to document

22 HE FT DP IT PRG310 Y3 IA

Programming 3A Study Guide
Course

Programming

119 Documents
Students shared 119 documents in this course
University

Damelin

Academic year: 2022/2023

Comments

Please sign in or register to post comments.

Preview text

Programming 2A Individual Assignment Page 1 of 7

Programme Diploma In Information Technology Module Programming 3A Module Code PRG NQF Level 7 Credits 15 Assessment Type Individual Assignment Semester 1st Due Date As Per Academic Calendar Total marks 100 Pass mark 50% Weighting 20%

This question paper consists of 5 pages including the cover page.

INSTRUCTIONS: Read the following instructions CAREFULLY: 1. Your assignment should be typed – Arial font 12; 1 spacing. Justified (Ctrl + J) 2. Your submission must be presented in the following format: a. Coversheet b. Table of Contents c. Introduction d. Body e. Conclusion f. Bibliography, (proof of research). Not included in the word count. 3. Use the Harvard method of referencing. 4. You must consult at least five (5) different sources or preferably journals for adequate referencing. 5. Keep photocopies of all assignments handed in. 6. Plagiarism and copying of assignments will result in the default mark 0% being awarded. This is also a punishable offence, which will lead to a disciplinary action. 7. It is in your own interest to present your work neatly.

Programming 2A Individual Assignment Page 2 of 7

IMPORTANT: INDIVIDUAL ASSIGNMENT SUBMISSION INSTRUCTIONS

STEP 1:

Scroll down to the Individual Assignment Section of your myClass page. STEP 2: Click on the Submission Icon STEP 3: Click on the <Add Submission= button. STEP 4: You will be able to add your assignment here. Take note of the maximum size that can be uploaded, and how many attachments you are allowed. STEP 5: Once you have added your attachment, it will appear in the File submissions block, click on 8Save changes' STEP 6: It is important to note that the assignment is NOT submitted yet – it will state <Draft (not submitted)= At this step, you are still able to edit your submission. Should you click on <Edit Submission=, you will be taken back to Step 4, where you will be able to re-upload the correct document. To confirm the draft version that is already there, click on <Submit assignment=. STEP 7: To confirm your submission, be sure to check the box that appears there, and then click on 8Submit9. STEP 8: Once you have clicked on Continue, you will see that the submission status has been changed to <Submitted for grading= Only once it states submitted for grading, the process of the online submission is complete.

  • Programming 2A Individual Assignment Page 4 of

Programming 2A Individual Assignment Page 5 of 7

QUESTION 2 (25 marks)

Pig Latin is a made-up language that sound quite nonsensical. To create a word in pig

Latin, you remove the first letter and then add the first letter and ay at the end of the

word. For example, dog becomes ogday, and cat becomes atcay. Write a GUI program

named PigLatinGUI that allows the user to enter a word and displays the pig Latin

version.

Programming 2A Individual Assignment Page 7 of 7

QUESTION 4 (20 marks)

Write a console-based application that displays every perfect number from 1 through

10000.

A number is perfect if it equals the sum of all the smaller positive integers that divide

evenly into it. For example, 6 is perfect because 1, 2, and 3 divide evenly into it and

their sum is 6.

Use format strings(field size 8, right alignment) to show all perfect numbers. Display

the results as seen below.

∞End of Question Paper∞

Was this document helpful?

22 HE FT DP IT PRG310 Y3 IA

Course: Programming

119 Documents
Students shared 119 documents in this course

University: Damelin

Was this document helpful?
Programming 2A Individual Assignment Page 1 of 7
Damelin©
Programme
Diploma In Information Technology
Module
Programming 3A
Module Code
PRG310
NQF Level
7
Credits
15
Assessment Type
Individual Assignment
Semester
1st
Due Date
As Per Academic Calendar
Total marks
100
Pass mark
50%
Weighting
20%
This question paper consists of 5 pages including the cover page.
INSTRUCTIONS:
Read the following instructions CAREFULLY:
1. Your assignment should be typed Arial font 12; 1.5 spacing. Justified (Ctrl + J)
2. Your submission must be presented in the following format:
a. Coversheet
b. Table of Contents
c. Introduction
d. Body
e. Conclusion
f. Bibliography, (proof of research). Not included in the word count.
3. Use the Harvard method of referencing.
4. You must consult at least five (5) different sources or preferably journals for adequate referencing.
5. Keep photocopies of all assignments handed in.
6. Plagiarism and copying of assignments will result in the default mark 0% being awarded. This is also a
punishable offence, which will lead to a disciplinary action.
7. It is in your own interest to present your work neatly.