• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 61 pages
Exam (elaborations)

Ict3612 E Exam Pack 2026

Document preview thumbnail
Preview 2 out of 61 pages

ICT3612 Latest exam pack questions and answers and summarized notes for exam preparation. Updated for 2024 exams . For assistance Whats-App.0.6.7..1.7.1..1.7.3.9 . All the best on your exams!!

Content preview

ICT3612
EXAM PACK




FOR ASSISTANCE WITH THIS MODULE +27 67 171 1739

, ICT3612/104/1/2018

Example of an examination paper

Question 1 4 marks

Code, then use a simple function that contains one required and one default parameter.

Question 2 10 marks

2.1 Consider the following function:

<?php
function subtract($first_number, $second_number){
$result = $first_number - $second_number;
return $result;
}
?>

Define appropriate variables, and then use them with the function so that the following
sentence is printed:

The result of the calculation is -76. (6)

2.2 Consider the following function that works with a variable-length parameter list:

<?php
function dynamic_args() {
for($i = 0 ; $i < func_num_args(); $i++) {
echo "Argument $i = ".func_get_arg($i)."<br />";
}
}
?>

i. Use the function to produce the following lines:
Argument 0 = a
Argument 1 = b (2)

ii. Use the function again, but this time the following lines must be produced:
Argument 0 = a
Argument 1 = b
Argument 2 = c
Argument 3 = d
Argument 4 = e (2)

Question 3 28 marks

3.1 Create and use a simple class containing a single method that will produce the
following output:

Hello Felicia! (4)




3

Connected book
 image
Anuradha A. Puntambekar Internet Programming
Publisher: 2020 ISBN: 9789333223805 Edition: Unknown

Document information

Uploaded on
February 9, 2019
File latest updated on
October 11, 2023
Number of pages
61
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
R75,00
Purchased by 36 students

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
EduPal
4,2
(14556)
Sold
155405
Followers
36030
Items
5300
Last sold
2 hours ago

Reviews from verified buyers

7 year ago

I am very happy to know if i am on the right track when writing exam answers!




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions