Preview

ASC454 5

Powerful Essays
Open Document
Open Document
770 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
ASC454 5
CONFIDENTIAL

CS/JAN 2012/ASC454

UNIVERSITI TEKNOLOGI MARA
FINAL EXAMINATION

COURSE

ACTUARIAL PROGRAMMING

COURSE CODE

ASC454

EXAMINATION

JANUARY 2012

TIME

3 HOURS

INSTRUCTIONS TO CANDIDATES
1.

This question paper consists of six (6) questions.

2.

Answer ALL questions in the Answer Booklet. Start each answer on a new page.

3.

Do not bring any material into the examination room unless permission is given by the invigilator. Please check to make sure that this examination pack consists of:
i)
ii)

the Question Paper an Answer Booklet - provided by the Faculty

DO NOT TURN THIS PAGE UNTIL YOU ARE TOLD TO DO SO
This examination paper consists of 5 printed pages
© Hak Cipta Universiti Teknologi MARA

CONFIDENTIAL

CS/JAN 2012/ASC454

CONFIDENTIAL

QUESTION 1
Variable
X

y i n

Cell
A4
A5
B4
B5

By referring to the above table, write the equivalent formula in a formula bar of Microsoft
Excel worksheet for each of the following expression:

i) a = (yx)a W |.+y(l + 0~ n ii) a = n ( 7 ( l + i) - 1) iii) a = ctei.
• \

1 . 1

iv) a = -—- + '

(l+i)

d

v) a = x ln(l + 0 + y On (1 + i)
(10 marks)

QUESTION 2
a) Write a For...Next loop code that computes the sum of 1/2 + 2/3 + 3/4 + 4/5 + ... +
99/100.
(5 marks)
b) By using a command button in a Microsoft Excel worksheet, create a Visual Basic program that asks the user to enter a month by number and then displays the name of the month. For example, if the user inputs 2, the program should display "February".
Your program should use an array of 12 strings and assign the appropriate string to each of the elements according to each month.
(5 marks)

© Hak Cipta Universiti Teknologi MARA

CONFIDENTIAL

CONFIDENTIAL

3

CS/JAN 2012/ASC454

QUESTION 3
An instructor needs a system that calculates the average mark for each student taking
ASC454 course. Assume that Testl, Test2 and the Final Examination marks are stored in an
Excel worksheet as below:
,_A_
.k. Name

_B jTest 1

c
Test 2

1

;P

1

JL

i

Final

You May Also Find These Documents Helpful

  • Powerful Essays

    Bisc403

    • 2334 Words
    • 10 Pages

    iBISC403 Genetics and Evolutionary Biology Exam 2, March 22, 2012 Instructions: 1. Grid in your name on the answer sheet. 2. DO NOT grid in your student number, the course number or section. 3. Print your last name at the top of this cover page and short answer pages. 4. At the end of the exam, turn in your exam and your answer sheet together. All multiple choice questions are of equal value and together are worth 80% of the exam. The three short answer questions are each of indicated value and worth 20% of the exam.…

    • 2334 Words
    • 10 Pages
    Powerful Essays
  • Good Essays

    Pt1420 Unit 21 Quiz

    • 1899 Words
    • 8 Pages

    Complete these answers in your own words. Follow instructions in the Final Examination document. Answer all questions according to the instructions. Number each question here according to its number in the Final Examination document provided by your…

    • 1899 Words
    • 8 Pages
    Good Essays
  • Good Essays

    It/210 Final Exam

    • 1235 Words
    • 5 Pages

    4. The calculation should be executed only after all the valid input values are provided.…

    • 1235 Words
    • 5 Pages
    Good Essays
  • Good Essays

    1) After the external file is loaded the user must develop the section of the program that displays the ten five- letter words.…

    • 553 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    ASN201

    • 4379 Words
    • 31 Pages

    Students in this unit should read this unit guide carefully at the start of semester. It…

    • 4379 Words
    • 31 Pages
    Powerful Essays
  • Satisfactory Essays

    Unit 42 M3

    • 430 Words
    • 2 Pages

    Within the Excel spreadsheet program one can create buttons that can operate certain tasks such as a button to go to the next record or a button to calculate the attendance percentage. These buttons are programmable according to the user needs. Such small command operations are known as Active X control. The speciality of Active X controls are that they are designed to work over the internet through web browsers such as internet explorer. ActiveX is not a programming language, but rather a set of rules for how applications should share information.…

    • 430 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Part A consists of twenty (20) multiple choice questions worth one (1) mark each. There is no negative…

    • 3180 Words
    • 27 Pages
    Powerful Essays
  • Satisfactory Essays

    H. Name the passing score the threshold in cell B5 with the range name Passing. Display a message in the last grade book column based on the student’s semester performance. If a student earned a final score of 70 and higher, display Enroll n CS 202. Otherwise, display RETAKE CS 101.…

    • 472 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    The given data used for the forecast is the Carlson sales data for 48 months. We used the trend and seasonal method. Bellow the techniques are given to estimate the seasonal method.…

    • 476 Words
    • 51 Pages
    Satisfactory Essays
  • Better Essays

    Finance Exam Study Guide

    • 1686 Words
    • 7 Pages

    Students are not permitted to write on the examination or any other paper during reading time. Do not commence the examination until you are told to do so.…

    • 1686 Words
    • 7 Pages
    Better Essays
  • Powerful Essays

    Databasse

    • 1163 Words
    • 5 Pages

    DATABASE SYSTEMS 201 Due Date: Chapters Covered: 06 MAY 2013 Database System Data Analysis Entity Relationship Modeling Enhanced E-R Models Normalization Structured Query Language Joins and Views Sub queries and Schema 100 DIP –DBS 201…

    • 1163 Words
    • 5 Pages
    Powerful Essays
  • Good Essays

    For number 8, take your time and write a complete solution in C++ that can be run and played with…

    • 881 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Java Calculator CMD

    • 889 Words
    • 4 Pages

    Division"); op = fSC.nextInt(); System.out.println("Enter second number:"); b = fSC.nextInt(); if (op==1) { c = a+b; } else if (op==2) { c = a-b;} else if (op==3) { c = a*b;} else if (op==4) { c = a/b; } else { System.out.println("You have entered a wrong operator value !"); System.exit(0); } System.out.println("The Answer is "+c); } } import java.util.…

    • 889 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    Exam International Money

    • 8268 Words
    • 34 Pages

    Instructions regarding the organisation of the exam • • • • • Only the following items are allowed on your table: the exam and other materials provided by the invigilators (e.g., writing paper), your student card, a pen, pencil, eraser and a non-programmable pocket calculator. Other electronic equipment must be switched off and kept in your bag or coat. Bags must be closed and put next to your table. It is not allowed to go to the toilet during the first half hour nor during the last hour of the exam. In the meantime you can only go to the toilet with permission of an invigilator. It is not allowed to leave the exam room within the first half hour of the exam, and after that first half hour students are not allowed to start the exam. If these instructions are not followed, you can be excluded from the exam.…

    • 8268 Words
    • 34 Pages
    Good Essays
  • Satisfactory Essays

    Comm Theory

    • 1172 Words
    • 5 Pages

    Do not bring any material into the examination room unless permission is given by the invigilator Please check to make sure that this examination pack consists of: i) The Question Paper ii) An Answer Booklet - provided by the Faculty iii) An Objective Answer Sheet - provided by the Faculty…

    • 1172 Words
    • 5 Pages
    Satisfactory Essays