Sale!

CS 2040 Lab 1 Java Introduction solution

$30.00 $25.50

Category:

Description

5/5 - (6 votes)

Lab Introduction
• 2-hour session every Friday
• Intended to provide hands-on experience with programming
• Involves one-day assignments, and take-home assignments
• One-day assignments (solving 1 problem) should ideally be completed within
the lab itself. The actual duration of the deadline is 8am on Friday to 8am on
Saturday, but the assignment is “doable” within the duration of the lab.
• Take-home assignments (solving 2 problems) should be completed before the
deadline (2 weeks per take-home assignment)
Lab Structure
• 1
st part of labs (max. 30 min): short lesson
• Cover answers for the previous session’s assignments (one-day, and take-home,
where applicable)
• Cover relevant Java API for the session’s given topic
• Brief discussion of the one-day assignment
• 2
nd part of labs: solving the one-day assignment (graded)
• The first 20-30 minutes of this part will be used for students to plan how to solve the
assignment, and express it in terms of pseudocode
• Allowed to discuss at algorithm level with other students, but no discussing/sharing
of code
• Type out the pseudo-code for your solution, which has to be shown to the TAs
• Can continue working on the assignment after the lab if necessary
Kattis Introduction
• Online platform used for submitting and grading assignments
• Found at https://nus.kattis.com/