OOP-8-DLList-1-HW.docx CSCI 2320 Initials Page 1
|
|
- Valerie Melton
- 6 years ago
- Views:
Transcription
1 OOP-8-DLList-1-HW.docx CSCI 2320 Initials Page 1 If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax, but you must organize and present your own logical solution to the problem. No lab is complete until the MyClass submits the signed pledge form associated with that lab. I realize that no coded programs will be graded until I turn in the sign & pledge form associated with that program; any late penalties will continue to compound until the pledge form is submitted. If this lab is a team assignment, both team members may share logic as they program side by side on their own computers. Each person must type all of his/her own code as part of the learning process. Team assignments are never to be "You do this portion and I ll do that portion" or "You do this lab and I ll do the next lab". Some of the lab assignments will have short answer questions. These short answer questions will be spot checked and graded for completion, but not checked for accuracy. Once these labs are graded and returned, I encourage you to compare answers with another class member who has also had the lab graded and returned. I/We realize that the penalty for turning in work that is not my own, or assisting others in doing so, can range from an "F" in the class to dismissal from Trinity University. I realize that it is a violation of academic integrity to share any portion of this lab with any person (outside my 2320 team & professor)! Print Name Time Required =. Hrs. Signature (pledged) Print Name Time Required =. Hrs. Signature (pledged) Internal Memory Doubly Linked List Application Initial/Pledge The constructor and destructor work perfectly! Initial/Pledge GetNode & Freenode work perfectly! Initial/Pledge Empty works perfectly! Initial/Pledge All of the documentation has been updated properly. I/We are the author of all functions, except display! The date is correct. Initial/Pledge I/We set the Diagnostic Level to 1 & recompiled the program before placing it in the drop box. Initial/Pledge All of the testing is exposed for diagnostic levels 1-4. Initial/Pledge I/We have backed up the project (on my personal computer & network drive). OOP- 8 DLList-1 Print Pages 1-9 Team Assignment 10 Points Programming 10 Points Questions [Each Answer Own Questions & Do Own Programming Side By Side] Short Answer Questions 10 Points Electronic Solutions Of Short Answer Questions Will Not Be Accepted. Print A Copy Of Short Answer Question & Write Answers On Printed Copy 1] In what way is Divide & Conquer applicable to our implementation of Direct Access Linked Lists.
2 OOP-8-DLList-1-HW.docx CSCI 2320 Initials Page 2 2] List the four data members in the DLNode class. L D R I 3] {T/F} DLNode is template class. 4] Write the line of code to create a node, called Node1, that contains int data. I recommend that you this with code & then record the answer! 5] Write the line of code to use the Node1display function to produce the following output. I recommend that you this with code & then record the answer! 6] Write 1 line of code to create a node, called Node2, whose int data is initialized to 5. I recommend that you this with code & then record the answer! 7] Write 1 line of code to use the Node2display function to produce the following output. Pass This Is Node2 to the Display method. Pass a NodePtr of 4 to the function. I recommend that you this with code & then record the answer! 8] Write 1 line of code to to create an object, called Student1, of Student type & initialize Student1with Pete, 2222, & Male. I recommend that you this with code & then record the answer! 9] Write 1 line of code to create a node, called Node6, whose int data is initialized to Student1. I recommend that you this with code & then record the answer! 10] Write 1 line of code to use the Node6 display function to produce the following output. Pass This Is Node6 to the Display method. Pass a NodePtr of 1234 to the function. I recommend that you this with code & then record the answer! 11] List the two data members in the ListHeader class. F R 12] {T/F} The basic ListHeader class contains an method, called Update, that does nothing in this class because it does not contain any fields which need updating. (Hint: True) 13] Write 1 line of code to create a list header, called List1. I recommend that you this with code & then record the answer!
3 OOP-8-DLList-1-HW.docx CSCI 2320 Initials Page 3 14] Write 1 line of code to use the List1 display function to produce the following output. Pass This Is List1 to the Display method. Pass a NodePtr of 12 to the function. I recommend that you this with code & then record the answer! 15] {T/F} According to the slides & lecture, the basic ListHeader class is seldom sufficient for a real life application. Real life applications will often have data, specific to the list organizational structure, that needs to be included. In order to create a single linked list application that can solve problems for many different applications, classes specific to the application will be created which inherit the base ListHeader class; PartListHeader is one such class that inherits ListHeader. (Hint: True) 16] Examine the code for class PartListHeader. Write the code, following class PartListHeader, that performs the inheritance of the ListHeader class. (Hint: starts with : ) 17] Examine the PartListHeader class. List the four data members in the PartListHeader class. Na No M I 18] {T/F} The PartListHeader class contains specifically declares Front & Rear. 19] {T/F} The PartListHeader class inherits Front & Rear from the ListHeader class. 20] {T/F} When a PartListHeader object is created, the inherited ListHeader constructor is automatically fired; thus Front & Rear are initialized to NILL (0). (Hint: True) 21] {T/F} When a PartListHeader is a template class. 22] Write the line of code to create a PartListHeader, called PartList1. I recommend that you this with code & then record the answer! 23] Write 1 line of code to use the PartList1 display function to produce the following output. Pass Contents Of Sporting Goods Department to the Display method. Pass a NodePtr of 3 to the function. I recommend that you this with code & then record the answer! 24] Examine the PartListHeader class. List the the two data members in the PartListHeader class whose values will be Updated as nodes are added or removed from the list. 25] Examine the PartListHeader class. The Update method is going to be passed a { + / - } when new nodes are added to the list. 26] Examine the PartListHeader class. The Update method is going to be passed a { + / - } when nodes are removed from the list.
4 OOP-8-DLList-1-HW.docx CSCI 2320 Initials Page 4 27] {T/F} The Double Linked List ADT could use dynamic arrays in internal memory. (Hint: True) 28] {T/F} The Double Linked List ADT could use direct access files. (Hint: True) [FIGURE A] 29] {T/F} The double linked list representation in FIGURE A, above, might have been created in internal memory with the following declaration: (Hint: True) DLList<Integer, IntegerListHeader> Nos(3, 7); 30] {T/F} The double linked list representation in FIGURE A, above, might have been created with direct access files with the following declaration: (Hint: True) DA_DLList<Integer, IntegerListHeader> Nos( Nos.hf, Nos.nf, 3, 7); Shown below is a Graphical Illustration of Header 1 in FIGURE A above: 31] In the space below, sketch a Graphical Illustration of Header 2 in FIGURE A in the format shown above.
5 OOP-8-DLList-1-HW.docx CSCI 2320 Initials Page 5 32] In the space below, sketch a Graphical Illustration of Header 3 in FIGURE A in the format shown above. 33] List the five data members in the DLLList class. H M N M A 33] List the the arguments passed into the DLLList class constructor. N N 34] Write the prototype for the DLLList class constructor. 35] {T/F} The DLLList class constructor is overloaded. 36] In class DLLList, _?_ is the data member that is going to house all of the doubly linked nodes. 37] In class DLLList, _?_ is the data member that is going to house all of the header nodes. 38] {T/F} We are going to use Node 0 to store pointers. (Hint: True) 39] {T/F} We are going to use Node 0 to store list data. (Hint: False) 40] {T/F} We are going to use Header 0 to store pointers. (Hint: True) 41] {T/F} We are going to use Header 0 to store list data. (Hint: False) 42] In class DLLList, _?_ is the data member used to store the number of nodes available for storing valid data. 43] In class DLLList, _?_ is the data member used to store the number of headers available for storing valid data. 44] In class DLLList, _?_ is the data member used to store a NodePtr to the first node in the available pool of nodes. 45] Write 1 line of code to create an internal memory doubly linked list called Nos; Nodes shall contain Integer data; headers shall be of IntegerListHeader type; initialize it with 10 headers and 1000 nodes. I recommend that you this with code & then record the answer!
6 OOP-8-DLList-1-HW.docx CSCI 2320 Initials Page 6 46] Write 1 line of code to create an internal memory doubly linked list called Sears; Nodes shall contain Part data; headers shall be of PartListHeader type; initialize it with 4 headers and 8 nodes. I recommend that you this with code & then record the answer! 47] Name the method, in DLList, that is responsible for doing everything necessary to create and work with the nodes. 48] What argument is passed into the CreateNodes method of the DLList class? 49] Write a bock of code, that you might add to the top of CreateNodes, to assign a value to data member MaxNodes; remember to make sure that it is never <= 0! FIGURE B 50] Write a line of code, that you might include in CreateNodes, to assign create the block of memory pointed to by Nodes. This block of memory would look like the sketch in Figure B. FIGURE C 51] Write a bock of code, that you might add to CreateNodes, to transform the dynamic Nodes array in FIGURE B into that of FIGURE C.
7 OOP-8-DLList-1-HW.docx CSCI 2320 Initials Page 7 52] Write a line of code, that you might add to CreateNodes, to assign the correct value to Avail. 53] Write a bock of code, that you might add to the top of CreateHeaderNodes, to assign a value to data member MaxHeaders; remember to make sure that it is never <= 0! FIGURE D 54] Write a line of code, that you might include in CreateHeaderNodes, to assign create the block of memory pointed to by Headers. This block of memory would look like the sketch in Figure B. FIGURE E 55] {T/F} The graphical sketch of the available pool above has 7 nodes in order. (Hint: True) 56] {T/F} The nodes in the available pool will always be in order. (Hint: False)
8 OOP-8-DLList-1-HW.docx CSCI 2320 Initials Page 8 FIGURE F 57] Draw the graphical sketch of the available pool illustrated if FIGURE F. 58] FIGURE F has _?_ nodes in the available pool. (Hint: False) 59] {T/F} Nodes in the available pool are doubly linked. (Hint: False) 60] {T/F} Nodes in the available pool are singularly linked. (Hint: True) 61] FIGURE F has _?_ nodes in header 1. (Hint: False) 62] FIGURE F has _?_ nodes in header 2. (Hint: False) 63] FIGURE F has _?_ nodes in header 3. (Hint: False) 64] FIGURE F explain the calculation of Total; where did the value $218 come from? 65] {T/F} FIGURE F it will be the PartListHeader s Update method that helps to tabulate the value in Total. (Hint: True) FIGURE G (How To Do A Graphical Sketch Of Header 1) 66] Provide a Graphical sketch of Header 2 in FIGURE F
9 OOP-8-DLList-1-HW.docx CSCI 2320 Initials Page 9 67] It is the job of method _?_ to explicitly return a NodePtr to the next node in the available list. 68] The first value explicitly returned when GetNode is called in FIGURE F would be _?_. 69] If GetNode is called in FIGURE F were called a second time, the value would be _?_ returned. 70] If GetNode is called in FIGURE F were called a third time, the value would be _?_ returned. 71] One of the advantages of the implementation of the DLList is that you can display the pointers in the headers and nodes in hopes of validating that all links are properly constructed; this makes debugging easier! (Hint: True) 72] One of the advantages of the implementation of the DLList is that we bundle the nodes into a single container, as opposed to separate containers for each list; this will often result in more efficient memory usage! (Hint: True) 73] One of the advantages of the implementation of the DLList is that we could write the array to disk in a destructor and reload it into memory in a constructor! (Hint: True) 74] We could create a resize for class DLList; the code would be very similar to that in our Stack application! (Hint: True) 75] It is the job of method _?_ to explicitly return the node, referenced by an OldNodePtr, to the available list. 76] You are about to add Node 4 to the graphical sketch of the available pool above. Redraw the graphical sketch of the available pool in the space provided below! 77] You are about to add Node 1 to the graphical sketch of the available pool above. Redraw the graphical sketch of the available pool in the space provided below! 78] Write 1 line of code to create an internal memory doubly linked list called NorthPark; Nodes shall contain Auto data; headers shall be of AutoListHeader type; initialize it with 10 headers and 100 nodes. I recommend that you this with code & then record the answer!
10 OOP-8-DLList-1-HW.docx CSCI 2320 Initials Page 10 Programming Component 10 Points 1] Download a copy of DLList-Student.zip Extract the project Call your folder TomH-DLList-1 (Use your first name and last initial). 2] This application is the internal memory representation of the doubly linked list. 3] Write the code for all necessary functions, including GetNode & FreeNode. Expose all of the test code for diagnostic levels 1-4. Examine the output carefully! 1 Point 5] When you are finished, (1) Set the diagnostic level to 1 (2) Compile the program! (3) Copy to Mars Make sure your Binary Executable Works! # define DLLIST_CLASS_DIAGNOSTICS_LEVEL 1 What To Turn In No Lab Is Complete Until Both Are Complete ] You sign & submit the Pledge form. a) Make sure that all program files have a header box with a purpose that clearly defines what you are accomplishing in this lab. b) Make sure that each and every program function has a well formed documentation box that clearly describes the purpose. c) Make sure that each and every program function header box has the appropriate Written By and Date. d) Review the Pledge statement e) Sign & Pledge f) Record the amount of time you think you spent on this lab g) Staple all pages of this lab. Fold in half length-wise (like a hot-dog). Put your name on the outside. Place it on the professor desk before the beginning of lecture on the day it is due. The penalty for late homework will not exceed 25% off per day. 2] Place all programming code associated with this program, if any, in the Professor s Code Drop Box a) I do not accept programs by mail; do not submit labs via ! Comments A] Programs that do not compile are worth little, if anything. B] If a print statement format is off, the penalties will often be less than the 25% per day late penalty; turn in the lab. You would not be happy if you went to Best Buy and purchased a large screen TV that did everything except show the picture; you would consider it pretty worthless. Most users consider software that does not work properly pretty useless as well. If the lab is not working correctly, credit will be small (if any); you might be better to accept a 25% (1 day) late penalty and turn in the lab working correctly! C] Start all programs early so that you can get in contact with the professor if you have problems. D] If you are turning in this lab late, you may hand it to me if I am in the office put it in the mail box outside my office door
11 OOP-8-DLList-1-HW.docx CSCI 2320 Initials Page 11 slide it under the outer door to our suite {if locked} slide it under my office door. The sooner I get late labs, the sooner the late penalty meter quits clicking. E] Backup your programs in at least three places. Put a copy on your Y drive. Put a copy on your flash drive. Put a copy on your personal computer. Send yourself a copy in your .
OOP- 5 Stacks Individual Assignment 35 Points
OOP-5-Stacks-HW.docx CSCI 2320 Initials P a g e 1 If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax, but you must organize
More informationOOP-15-AVL Final Project-1-HW Individual Assignment 70 Points
OOP-15-AVL Final Project-1-HW.docx CSCI 2320 Initials P a g e 1 If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax,
More informationOOP- 4 Templates & Memory Management Print Only Pages 1-5 Individual Assignment Answers To Questions 10 Points - Program 15 Points
OOP-4-Templates-Memory-Management-HW.docx CSCI 2320 Initials P a g e 1 If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax,
More informationChapter 4C Homework Functions III Individual Assignment 30 Points Questions 6 Points Script 24 Points
PCS1-Ch-4C-Functions-3-HW.docx CSCI 1320 Initials P a g e 1 If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax, but
More informationChapter 11-B Homework ScalaFX & Eclipse Individual Assignment 25 Points
If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax, but you must organize and present your own logical solution to the
More informationOOP- 6 Direct Access Files & Software Engineering Individual Assignment
OOP-6-DA-Files-SE-HW.docx CSCI 2320 Initials P a g e 1 If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax, but you must
More informationChapter 11-D Homework ScalaFX & Eclipse Individual Assignment 10 Points
If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax, but you must organize and present your own logical solution to the
More informationPCS1-Ch-3B-Basic-Loops-HW CSCI 1320 Initials P a g e 1
PCS1-Ch-3B-Basic-Loops-HW CSCI 1320 Initials P a g e 1 If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax, but you must
More informationCisco Switch Lab II (1-3 Persons) Individual/Team Lab 35 Points
All of the work in this project is my own! I have not left copies of my code in public folders on university computers. I have not given any of this project to others. I will not give any portion of this
More informationClean Up Team Lab 10 Points. Cisco Switch Lab I Individual Lab 25 Points
All of the work in this project is my own! I have not left copies of my code in public folders on university computers. I have not given any of this project to others. I will not give any portion of this
More informationOOP-10 BTree & B+Tree Individual Assignment 15 Points
OOP-10-B+Tree-HW CSCI 2320 Initials P a g e 1 If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax, but you must organize
More informationIntro-PHP-HW.docx CSCI 3343 Initials P a g e 1
Intro-PHP-HW.docx CSCI 3343 Initials P a g e 1 If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax, but you must organize
More informationIntro To HTML & Web & Relational Queries Individual Assignment 30 Points
If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax, but you must organize and present your own logical solution to the
More informationServer-Configuration-2-MySQL-1-HW.docx CSCI 3343 Initials P a g e 1
Server-Configuration-2-MySQL-1-HW.docx CSCI 3343 Initials P a g e 1 The short answer questions will be spot checked and graded for completion, but not checked for accuracy. I encourage you to form a study
More informationServer 2 - MySQL #1 Lab
Server-Configuration-2-MySQL-1-HW.docx CSCI 2320 Initials P a g e 1 If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax,
More informationDesign Relationships, Indexes, Queries, & More (Individual/Team Of 2) Assignment 20 USE PENCIL
Relationships-1-HW.docx CSCI 3321 Initials P a g e 1 If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax, but you must
More informationDB-Queries-1 - REVIEW Individual 20 Points
DB-Queries-1.docx CSCI 2320 Initials P a g e 1 If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax, but you must organize
More informationBusiness Router II Lab
Business-Router-1-Lab.doc 1 CSCI 3342 If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax, but you must organize and
More informationLinux Command Homework Individual/Team (1-2 Persons) Homework Assignment Turn In One Copy Per Person 5 Points
All of the work in this project is my own! I have not left copies of my code in public folders on university computers. I have not given any of this project to others. I will not give any portion of this
More informationC:\Temp\Templates. Download This PDF From The Web Site
11 2 2 2 3 3 3 C:\Temp\Templates Download This PDF From The Web Site 4 5 Use This Main Program Copy-Paste Code From The Next Slide? Compile Program 6 Copy/Paste Main # include "Utilities.hpp" # include
More informationEECE.2160: ECE Application Programming
Fall 2017 Programming Assignment #10: Doubly-Linked Lists Due Monday, 12/18/17, 11:59:59 PM (Extra credit ( 5 pts on final average), no late submissions or resubmissions) 1. Introduction This assignment
More information1. Introduction. 2. Deliverables
16.216: ECE Application Programming Summer 2014 Programming Assignment #10: Doubly-Linked Lists Due Friday, 6/27/14, 12:00 PM (noon) NO LATE ASSIGNMENTS 1. Introduction This assignment deals with the combination
More informationQUIZ Friends class Y;
QUIZ Friends class Y; Is a forward declaration neeed here? QUIZ Friends QUIZ Friends - CONCLUSION Forward (a.k.a. incomplete) declarations are needed only when we declare member functions as friends. They
More informationEECE.2160: ECE Application Programming
Summer 2017 Programming Assignment #9: Doubly-Linked Lists Due Monday, 6/26/17, 11:59:59 PM (+15% if submitted by 6/23, +10% if submitted 6/24-6/25, +5% if submitted 6/26) 1. Introduction This assignment
More informationRECOMMENDATION. Don't Write Entire Programs Unless You Want To Spend 3-10 Times As Long Doing Labs! Write 1 Function - Test That Function!
1 2 RECOMMENDATION Don't Write Entire Programs Unless You Want To Spend 3-10 Times As Long Doing Labs! Write 1 Function - Test That Function! 2 Function Overloading C++ provides the capability of Using
More informationQUIZ on Ch.5. Why is it sometimes not a good idea to place the private part of the interface in a header file?
QUIZ on Ch.5 Why is it sometimes not a good idea to place the private part of the interface in a header file? Example projects where we don t want the implementation visible to the client programmer: The
More informationBig Data NoSQL Databases Individual Assignment 20 Points
If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax, but you must organize and present your own logical solution to the
More informationDuring the first 2 weeks of class, all students in the course will take an in-lab programming exam. This is the Exam in Programming Proficiency.
Description of CPSC 301: This is a 2-unit credit/no credit course. It is a course taught entirely in lab, and has two required 2-hour 50-minute lab sessions per week. It will review, reinforce, and expand
More informationObject Oriented Programming
Binnur Kurt kurt@ce.itu.edu.tr Istanbul Technical University Computer Engineering Department 1 Version 0.1.2 About the Lecturer BSc İTÜ, Computer Engineering Department, 1995 MSc İTÜ, Computer Engineering
More informationCS 216 Fall 2007 Midterm 1 Page 1 of 10 Name: ID:
Page 1 of 10 Name: Email ID: You MUST write your name and e-mail ID on EACH page and bubble in your userid at the bottom of EACH page including this page and page 10. If you do not do this, you will receive
More informationCh. 12: Operator Overloading
Ch. 12: Operator Overloading Operator overloading is just syntactic sugar, i.e. another way to make a function call: shift_left(42, 3); 42
More informationCE221 Programming in C++ Part 1 Introduction
CE221 Programming in C++ Part 1 Introduction 06/10/2017 CE221 Part 1 1 Module Schedule There are two lectures (Monday 13.00-13.50 and Tuesday 11.00-11.50) each week in the autumn term, and a 2-hour lab
More informationPIC 10B Lecture 1 Winter 2014 Homework Assignment #3
PIC 10B Lecture 1 Winter 2014 Homework Assignment #3 Due Tuesday, February 4, 2014 by 5:00pm. Objectives: 1. To redefine the Big 3 : Copy constructor, Assignment operator, and Destructor for a class whose
More informationCSCI-1200 Data Structures Spring 2018 Lecture 14 Associative Containers (Maps), Part 1 (and Problem Solving Too)
CSCI-1200 Data Structures Spring 2018 Lecture 14 Associative Containers (Maps), Part 1 (and Problem Solving Too) HW6 NOTE: Do not use the STL map or STL pair for HW6. (It s okay to use them for the contest.)
More informationChapter 4 Homework Individual/Team (1-2 Persons) Assignment 15 Points
All of the work in this project is my own! I have not left copies of my code in public folders on university computers. I have not given any of this project to others. I will not give any portion of this
More informationLecture 18 Tao Wang 1
Lecture 18 Tao Wang 1 Abstract Data Types in C++ (Classes) A procedural program consists of one or more algorithms that have been written in computerreadable language Input and display of program output
More informationPIC 10B Lecture 1 Winter 2014 Homework Assignment #2
PIC 10B Lecture 1 Winter 2014 Homework Assignment #2 Due Friday, January 24, 2014 by 6:00pm. Objectives: 1. To overload C++ operators. Introduction: A set is a collection of values of the same type. For
More informationCS503 Advanced Programming I CS305 Computer Algorithms I
Syllabus: CS503 Advanced Programming I CS305 Computer Algorithms I Course Number: CS503-50/CS305-50 Course Title: Advanced Programming I/Computer Algorithms I Instructor: Richard Scherl Office: Howard
More informationECE Object-Oriented Programming using C++ and Java
1 ECE 30862 - Object-Oriented Programming using C++ and Java Instructor Information Name: Sam Midkiff Website: https://engineering.purdue.edu/~smidkiff Office: EE 310 Office hours: Tuesday, 2:30 to 4:00
More informationProblem 1: Building and testing your own linked indexed list
CSCI 200 Lab 8 Implementing a Linked Indexed List In this lab, you will be constructing a linked indexed list. You ll then use your list to build and test a new linked queue implementation. Objectives:
More informationBCIS 3630 Dr. GUYNES SPRING 2018 TUESDAY SECTION [JAN version] GRADER COURSE WEBSITE
COURSE WEBSITE http://www.steveguynes.com/bcis3630/bcis3630/default.html Instructor: Dr. Guynes Office: BLB 312H Phone: (940) 565-3110 Office Hours: By Email Email: steve.guynes@unt.edu TEXTBOOK: Starting
More information(the bubble footer is automatically inserted in this space)
Page 1 of 8 Name: Email ID: CS 2150 Exam 1 You MUST write your name and e-mail ID on EACH page and bubble in your userid at the bottom of EACH page including this page. If you are still writing when pens
More informationFunction Terminology
OOP-1-Review-HW-(Part C).docx CSCI 2320 Initials P a g e 1 Print Name Time Required =. Hrs. Signature (pledged) Function Terminology 1] A C_?_ is a Value that cannot be altered by the program during normal
More informationNote: This is a miniassignment and the grading is automated. If you do not submit it correctly, you will receive at most half credit.
Com S 227 Fall 2017 Miniassignment 1 50 points Due Date: Monday, October 16, 11:59 pm (midnight) Late deadline (25% penalty): Tuesday, October 17, 11:59 pm General information This assignment is to be
More informationDue: 9 February 2017 at 1159pm (2359, Pacific Standard Time)
CSE 11 Winter 2017 Program Assignment #2 (100 points) START EARLY! Due: 9 February 2017 at 1159pm (2359, Pacific Standard Time) PROGRAM #2: DoubleArray11 READ THE ENTIRE ASSIGNMENT BEFORE STARTING In lecture,
More informationCSCI 1301: Introduction to Computing and Programming Summer 2018 Lab 07 Classes and Methods
Introduction This lab introduces you to additional concepts of Object Oriented Programming (OOP), arguably the dominant programming paradigm in use today. In the paradigm, a program consists of component
More informationChapter 10 Introduction to Classes
C++ for Engineers and Scientists Third Edition Chapter 10 Introduction to Classes CSc 10200! Introduction to Computing Lecture 20-21 Edgardo Molina Fall 2013 City College of New York 2 Objectives In this
More informationPIC 10A. Review for Midterm I
PIC 10A Review for Midterm I Midterm I Friday, May 1, 2.00-2.50pm. Try to show up 5 min early so we can start on time. Exam will cover all material up to and including todays lecture. (Only topics that
More informationMULTIMEDIA COLLEGE JALAN GURNEY KIRI KUALA LUMPUR
STUDENT IDENTIFICATION NO MULTIMEDIA COLLEGE JALAN GURNEY KIRI 54100 KUALA LUMPUR FIFTH SEMESTER FINAL EXAMINATION, 2014/2015 SESSION PSD2023 ALGORITHM & DATA STRUCTURE DSEW-E-F-2/13 25 MAY 2015 9.00 AM
More information3.Constructors and Destructors. Develop cpp program to implement constructor and destructor.
3.Constructors and Destructors Develop cpp program to implement constructor and destructor. Constructors A constructor is a special member function whose task is to initialize the objects of its class.
More informationCSCI 1301: Introduction to Computing and Programming Spring 2019 Lab 10 Classes and Methods
Note: No Brainstorm this week. This lab gives fairly detailed instructions on how to complete the assignment. The purpose is to get more practice with OOP. Introduction This lab introduces you to additional
More informationNoSQL Databases & Big Data Individual Assignment 50 Points
If this lab is an Individual assignment, you must do all coded programs on your own. You may ask others for help on the language syntax, but you must organize and present your own logical solution to the
More informationCOEN244: Class & function templates
COEN244: Class & function templates Aishy Amer Electrical & Computer Engineering Templates Function Templates Class Templates Outline Templates and inheritance Introduction to C++ Standard Template Library
More informationSimple Router Configuration Router Lab 10 Points Networking & Data Communications
DCN-Router-Configuration-HW.doc 1 CSCI 3342 You must do at least 90% of this homework without the assistance of anyone else. Once you have 90% or more of the homework completed, you may double check your
More informationSpring CS Homework 12 p. 1. CS Homework 12
Spring 2018 - CS 111 - Homework 12 p. 1 Deadline 11:59 pm on Friday, May 4, 2018 Purpose CS 111 - Homework 12 To practice with sentinel- and question-controlled loops, file input and file output, and writing
More informationRECOMMENDATION. Don't Write Entire Programs Unless You Want To Spend 3-10 Times As Long Doing Labs! Write 1 Function - Test That Function!
1 RECOMMENDATION Don't Write Entire Programs Unless You Want To Spend 3-10 Times As Long Doing Labs! Write 1 Function - Test That Function! 2 3 Copy Project Folder There will be a number of times when
More informationCS447-Network and Data Communication Project #2 Specification, Fall 2017 Due December 5, 2017
CS447-Network and Data Communication Project #2 Specification, Fall 2017 Due December 5, 2017 1. Introduction In this project, we will develop a Sliding-Window flow-control (SWFC) simulator using C/C++
More informationCS/ENGRD 2110 Object-Oriented Programming and Data Structures Spring 2012 Thorsten Joachims
CS/ENGRD 2110 Object-Oriented Programming and Data Structures Spring 2012 Thorsten Joachims Lecture 1: Overview http://courses.cs.cornell.edu/cs2110 1 Course Staff Instructor Thorsten Joachims (tj@cs.cornell.edu)
More informationComputer Science 210: Data Structures
Computer Science 210: Data Structures Welcome to Data Structures! Data structures are fundamental building blocks of algorithms and programs Csci 210 is a study of data structures design efficiency implementation
More informationCS Homework 11 p. 1. CS Homework 11
CS 111 - Homework 11 p. 1 Deadline 11:59 pm on Monday, May 2, 2016 How to submit Each time you would like to submit your work: CS 111 - Homework 11 If your files are not already on nrs-labs, be sure to
More informationCS 051 Homework Laboratory #2
CS 051 Homework Laboratory #2 Dirty Laundry Objective: To gain experience using conditionals. The Scenario. One thing many students have to figure out for the first time when they come to college is how
More informationDo not write in this area A.1 A.2 A.3 A.4 A.5 A.6 B.1 B.2 B.3 TOTAL. Maximum possible points:
Name: Student ID: Instructor: Borja Sotomayor Do not write in this area A.1 A.2 A.3 A.4 A.5 A.6 B.1 B.2 B.3 TOTAL Maximum possible points: 75 + 10 This homework has two parts: Part A (Polynomial ADT) and
More informationCOMP 3500 Introduction to Operating Systems Project 5 Virtual Memory Manager
COMP 3500 Introduction to Operating Systems Project 5 Virtual Memory Manager Points Possible: 100 Submission via Canvas No collaboration among groups. Students in one group should NOT share any project
More informationIntroduction to Programming System Design CSCI 455x (4 Units)
Introduction to Programming System Design CSCI 455x (4 Units) Description This course covers programming in Java and C++. Topics include review of basic programming concepts such as control structures,
More informationProgramming Style and Optimisations - An Overview
Programming Style and Optimisations - An Overview Summary In this lesson we introduce some of the style and optimization features you may find useful to understand as a C++ Programmer. Note however this
More informationWelcome to Lab! Feel free to get started until we start talking! The lab document is located on the course website:
Welcome to Lab! Feel free to get started until we start talking! The lab document is located on the course website: https://users.wpi.edu/~sjarvis/ece2049_smj/ We will come around checking your pre-labs
More informationCOMP322 - Introduction to C++ Lecture 01 - Introduction
COMP322 - Introduction to C++ Lecture 01 - Introduction Robert D. Vincent School of Computer Science 6 January 2010 What this course is Crash course in C++ Only 14 lectures Single-credit course What this
More informationLesson 10A OOP Fundamentals. By John B. Owen All rights reserved 2011, revised 2014
Lesson 10A OOP Fundamentals By John B. Owen All rights reserved 2011, revised 2014 Table of Contents Objectives Definition Pointers vs containers Object vs primitives Constructors Methods Object class
More informationProject #1: Tracing, System Calls, and Processes
Project #1: Tracing, System Calls, and Processes Objectives In this project, you will learn about system calls, process control and several different techniques for tracing and instrumenting process behaviors.
More information************ THIS PROGRAM IS NOT ELIGIBLE FOR LATE SUBMISSION. ALL SUBMISSIONS MUST BE RECEIVED BY THE DUE DATE/TIME INDICATED ABOVE HERE
Program 10: 40 points: Due Tuesday, May 12, 2015 : 11:59 p.m. ************ THIS PROGRAM IS NOT ELIGIBLE FOR LATE SUBMISSION. ALL SUBMISSIONS MUST BE RECEIVED BY THE DUE DATE/TIME INDICATED ABOVE HERE *************
More informationObject Oriented Programming with c++ Question Bank
Object Oriented Programming with c++ Question Bank UNIT-1: Introduction to C++ 1. Describe the following characteristics of OOP. i Encapsulation ii Polymorphism, iii Inheritance 2. Discuss function prototyping,
More informationMidterm Exam #2 Review. CS 2308 :: Spring 2016 Molly O'Neil
Midterm Exam #2 Review CS 2308 :: Spring 2016 Molly O'Neil Midterm Exam #2 Wednesday, April 13 In class, pencil & paper exam Closed book, closed notes, no cell phones or calculators, clean desk 20% of
More informationVALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK
VALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur 603203. DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK Degree & Branch : B.E E.C.E. Year & Semester : II / IV Section : ECE 1, 2 &
More informationLab 1 Implementing a Simon Says Game
ECE2049 Embedded Computing in Engineering Design Lab 1 Implementing a Simon Says Game In the late 1970s and early 1980s, one of the first and most popular electronic games was Simon by Milton Bradley.
More informationProgramming in C++ Prof. Partha Pratim Das Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur
Programming in C++ Prof. Partha Pratim Das Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture - 31 Static Members Welcome to Module 16 of Programming in C++.
More informationFirst Examination. CS 225 Data Structures and Software Principles Spring p-9p, Tuesday, February 19
Department of Computer Science First Examination CS 225 Data Structures and Software Principles Spring 2008 7p-9p, Tuesday, February 19 Name: NetID: Lab Section (Day/Time): This is a closed book and closed
More informationHomework 09. Collecting Beepers
Homework 09 Collecting Beepers Goal In this lab assignment, you will be writing a simple Java program to create a robot object called karel. Your robot will start off in a world containing a series of
More informationProject 5 - The Meta-Circular Evaluator
MASSACHVSETTS INSTITVTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science 6.001 Structure and Interpretation of Computer Programs Fall Semester, 2005 Project 5 - The Meta-Circular
More information2 2
1 2 2 3 3 C:\Temp\Templates 4 5 Use This Main Program 6 # include "Utilities.hpp" # include "Student.hpp" Copy/Paste Main void MySwap (int Value1, int Value2); int main(int argc, char * argv[]) { int A
More informationIntroduction to Programming in C Department of Computer Science and Engineering. Lecture No. #13. Loops: Do - While
Introduction to Programming in C Department of Computer Science and Engineering Lecture No. #13 Loops: Do - While So far we have been using while loops in C, now C programming language also provides you
More informationSixth lecture; classes, objects, reference operator.
Sixth lecture; classes, objects, reference operator. 1 Some notes on the administration of the class: From here on out, homework assignments should be a bit shorter, and labs a bit longer. My office hours
More informationCSE100 Principles of Programming with C++
1 Instructions You may work in pairs (that is, as a group of two) with a partner on this lab project if you wish or you may work alone. If you work with a partner, only submit one lab project with both
More informationCS8 Final Exam E03, 09M, Phill Conrad, UC Santa Barbara 09/10/2009
CS8 Final Exam E03, 09M, Phill Conrad, UC Santa Barbara 09/10/2009 Name: Umail Address: @ umail.ucsb.edu Please write your name only on this page. That allows me to grade your exams without knowing whose
More informationComputer Science E-119 Fall Problem Set 3. Due before lecture on Wednesday, October 31
Due before lecture on Wednesday, October 31 Getting Started To get the files that you will need for this problem set, log into nice.harvard.edu and enter the following command: gethw 3 This will create
More information3 ADT Implementation in Java
Object-Oriented Design Lecture 3 CS 3500 Spring 2010 (Pucella) Tuesday, Jan 19, 2010 3 ADT Implementation in Java Last time, we defined an ADT via a signature and a specification. We noted that the job
More information6.001 Notes: Section 6.1
6.001 Notes: Section 6.1 Slide 6.1.1 When we first starting talking about Scheme expressions, you may recall we said that (almost) every Scheme expression had three components, a syntax (legal ways of
More informationFall CSEE W4119 Computer Networks Programming Assignment 1 - Simple Online Bidding System
Fall 2012 - CSEE W4119 Computer Networks Programming Assignment 1 - Simple Online Bidding System Prof. Gil Zussman due: Wed. 10/24/2012, 23:55 EST 1 Introduction In this programming assignment, you are
More informationQUIZ. 1. Explain the meaning of the angle brackets in the declaration of v below:
QUIZ 1. Explain the meaning of the angle brackets in the declaration of v below: This is a template, used for generic programming! QUIZ 2. Why is the vector class called a container? 3. Explain how the
More informationUniversity of Illinois at Urbana-Champaign Department of Computer Science. First Examination
University of Illinois at Urbana-Champaign Department of Computer Science First Examination CS 225 Data Structures and Software Principles Spring 2007 7p-9p, Thursday, March 1 Name: NetID: Lab Section
More informationCpt S 122 Data Structures. Course Review Midterm Exam # 2
Cpt S 122 Data Structures Course Review Midterm Exam # 2 Nirmalya Roy School of Electrical Engineering and Computer Science Washington State University Midterm Exam 2 When: Monday (11/05) 12:10 pm -1pm
More informationCS111: PROGRAMMING LANGUAGE II. Lecture 1: Introduction to classes
CS111: PROGRAMMING LANGUAGE II Lecture 1: Introduction to classes Lecture Contents 2 What is a class? Encapsulation Class basics: Data Methods Objects Defining and using a class In Java 3 Java is an object-oriented
More informationQUIZ. Write the following for the class Bar: Default constructor Constructor Copy-constructor Overloaded assignment oper. Is a destructor needed?
QUIZ Write the following for the class Bar: Default constructor Constructor Copy-constructor Overloaded assignment oper. Is a destructor needed? Or Foo(x), depending on how we want the initialization
More informationHomework 11 Program Setup (with some IMPORTANT NEW STEPS!)
Spring 2018 - CS 111 - Homework 11 p. 1 Deadline 11:59 pm on Friday, April 27, 2018 Purpose To practice with loops, arrays, and more! How to submit CS 111 - Homework 11 Submit your main.cpp (or it may
More informationUniversity of Illinois at Urbana-Champaign Department of Computer Science. First Examination
University of Illinois at Urbana-Champaign Department of Computer Science First Examination CS 225 Data Structures and Software Principles Spring 2007 7p-9p, Thursday, March 1 Name: NetID: Lab Section
More informationCGS 2405 Advanced Programming with C++ Course Justification
Course Justification This course is the second C++ computer programming course in the Computer Science Associate in Arts degree program. This course is required for an Associate in Arts Computer Science
More informationCSC 210, Exam Two Section February 1999
Problem Possible Score 1 12 2 16 3 18 4 14 5 20 6 20 Total 100 CSC 210, Exam Two Section 004 7 February 1999 Name Unity/Eos ID (a) The exam contains 5 pages and 6 problems. Make sure your exam is complete.
More informationCMPSCI 119 LAB #1 Bar Graphs Professor William T. Verts
CMPSCI 119 LAB #1 Bar Graphs Professor William T. Verts The goal of this first Python programming assignment is to successfully create, enter, debug, and run a simple program in the JES environment. If
More informationAssignment 5: MyString COP3330 Fall 2017
Assignment 5: MyString COP3330 Fall 2017 Due: Wednesday, November 15, 2017 at 11:59 PM Objective This assignment will provide experience in managing dynamic memory allocation inside a class as well as
More information01 INTRODUCTION TO COURSE
DATA STRUCTURES AND ALGORITHMS 01 INTRODUCTION TO COURSE ALGORITHMS & DATA STRUCTURES IMRAN IHSAN ASSISTANT PROFESSOR, AIR UNIVERSITY, ISLAMABAD WWW.IMRANIHSAN.COM LECTURES ADAPTED FROM: DANIEL KANE, NEIL
More informationCpt S 122 Data Structures. Course Review FINAL. Nirmalya Roy School of Electrical Engineering and Computer Science Washington State University
Cpt S 122 Data Structures Course Review FINAL Nirmalya Roy School of Electrical Engineering and Computer Science Washington State University Final When: Wednesday (12/12) 1:00 pm -3:00 pm Where: In Class
More information