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
  • Satisfactory Essays

    CEIS100 W5 ILab Report

    • 320 Words
    • 2 Pages

    The objective was to create a program using python. The program should successfully ask the user to input his or her name. Then ask the user to enter his or her age. If they are older than 16 then they can drive a car. Display this message along with their name. Then end the program by stating the users name, and that it is nice to meet them.…

    • 320 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Nt1310 Unit 3 Assignment

    • 256 Words
    • 2 Pages

    Write a program to input a string and then display it in Upper Case and also print the frequency of any character from the string.…

    • 256 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Programing Problems

    • 721 Words
    • 3 Pages

    Display “Player Two’s Average score is”PlayerTwoAvg“.” Display “The combined average of the games is”GameAverage “.” End Display Module Programming Problem 5 Main Module Declare LoanAmt…

    • 721 Words
    • 3 Pages
    Good 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
  • 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

    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
  • 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
  • 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
  • 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

    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