Study Guides (238,295)
Canada (115,061)
York University (9,811)
ITEC 1620 (17)


13 Pages
Unlock Document

York University
Information Technology
ITEC 1620
Stephen Chen

York UniversityASAKITEC 1620 30Section AOBJECTBASED PROGRAMMINGSummer 2002Final Exam SampleExaminer SY Chen Duration Two HoursThis exam is closed textbooks and closed notes Use of any electronic device eg for computing andor communicating is NOT permittedDo not unstaple this test bookany detached sheets will be discardedAnswer all questions in the space provided No additional sheets are permittedWork independently The value of each part of each question is indicated The total value of all questions is 100Write your name and student number in the space below Do the same on the top of each sheet of this exam where indicatedNOTE YOU MAY USE PEN OR PENCIL Surname Given NamesStudent Number Question 1 15 marksControl StructuresWrite a program in JAVA that will input a digit between 1 and 9 inclusive and then output all intgers between 1 and 99 inclusive that has the input digitFor example your program must have output like the following user input is underlined Example 133 13 23 30 31 32 33 34 35 36 37 38 39 43 53 63 73 83 93Please write your program on the following page You may use this page for rough work but anything on this page will not be graded
More Less

Related notes for ITEC 1620

Log In


Don't have an account?

Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Sign up

Join to view


By registering, I agree to the Terms and Privacy Policies
Already have an account?
Just a few more details

So we can recommend you notes for your school.

Reset Password

Please enter below the email address you registered with and we will send you a link to reset your password.

Add your courses

Get notes from the top students in your class.