Difference between revisions of "CSC105SU2021Class1"

From BU Computer Science
Jump to navigation Jump to search
(Created page with "==First Class assignment== ===Choice 1=== Write a program that has two classes (computers and networks). Each computer has a name, os, amount of RAM and amount of disk space....")
 
m (First Class assignment)
 
Line 4: Line 4:
  
  
===Choice 2
+
===Choice 2===
 
Write a program that has two classes (students and courses).  Students have names, emails, and ids.  Classes have department code, course number, and students.  The program should allow for adding students and courses, enrolling and withdrawing students from a course, and outputting all of students in a given course.
 
Write a program that has two classes (students and courses).  Students have names, emails, and ids.  Classes have department code, course number, and students.  The program should allow for adding students and courses, enrolling and withdrawing students from a course, and outputting all of students in a given course.

Latest revision as of 14:35, 16 June 2021

First Class assignment

Choice 1

Write a program that has two classes (computers and networks). Each computer has a name, os, amount of RAM and amount of disk space. Each network has a domain name (such as betheluniversity.edu) and an array of computers in it. The program should allow for adding computers and networks, putting and removing computers from a given network, and displaying the computers in a given network. It should create at least two networks.


Choice 2

Write a program that has two classes (students and courses). Students have names, emails, and ids. Classes have department code, course number, and students. The program should allow for adding students and courses, enrolling and withdrawing students from a course, and outputting all of students in a given course.