Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Study Guide for Quizzes and Final Exam - Programming Fundamentals II | CSCI 152, Study notes of Computer Science

Material Type: Notes; Class: Programming Fundamentals II; Subject: Computer Science - CSCI; University: Texas A & M University-Commerce; Term: Fall 2004;

Typology: Study notes

Pre 2010

Uploaded on 08/18/2009

koofers-user-71p-1
koofers-user-71p-1 🇺🇸

10 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1





!
!
"!!
#$  %&"%
#''$ % (&
 !
)!*'+,)*'

+'++'+,
-.!'++)!++
,*
#$( ("&/"
#''$("(&
"#$%

+
#$00&
#''$00 &
&'(
1+!
2


''!++
#$"%"&
#''$"" &
)*
!++++'+
1!+3++
+
1!+3++
++
1+!++++
)$$*!+++)
$*/+
"1!+3+$+

01!+3$+
pf2

Partial preview of the text

Download Study Guide for Quizzes and Final Exam - Programming Fundamentals II | CSCI 152 and more Study notes Computer Science in PDF only on Docsity!

CSCI 152 Study Guide for Quizzes and Final Exam Chapter 9 Arrays and Strings Be able to declare, initialize, and manipulate individual elements of a one-dimensional array. Be able to pass one-dimensional arrays to functions. Be able to use multiple-dimensional arrays. Be able to declare, initialize, and manipulate individual elements of a two-dimensional array. Be able to pass two-dimensional arrays to functions. Be able to pass one row of a two-dimensional array to a function. QuRwWNe Recommended exercises pp. 444-449 #1,6,5,9 Recommended programming exercises pp. 449-450 #1,5 Chapter 10 Application of Arrays and the vector Type 1. Be able to use at least one (preferably at least two) sorting technique(s) to rearrange data in an array. 2. Be able to search an array using both linear and binary searching techniques. Note: you will be given uncommented copies of the search and sort functions (same as with the quizzes). Recommended exercises pp. 504-506 #1 - 6 Recommended programming exercises pp. 506-510 #1,3,5 Chapter 12 Records (Structs) 1. Be able to declare a struct and manipulate its fields. 2. Be able to declare an array of structs and manipulate the elements. Recommended exercises pp. 571-572 #1-4 Recommended programming exercises pp. 573-574 #1 Chapter 13 Classes and Data Abstraction Understand the differences between structs and classes. Be able to create and use class objects. Be able to declare a class and control access to class data members. Be able to create and use constructor and destructor functions. Be able to design and code a program which includes a user-created class. WBWNE Recommended exercises pp. 629-632 #1-5 Recommended programming exercise pp. 632-634 #1,2 Chapter 14 Inheritance and Composition 1. Be able to declare a class which inherits from another class using public inheritance. 2. Understand what kind of access the derived class has to public, protected, and private members of the base class. 3. Understand what kind of access a client of the derived class has to public, protected, and private members of the derived class and of the base class. 4, Understand how the constructor of the derived class can call the constructor of the base class. 5. Be able to declare a class (x, for example) which includes a variable of another class type (y, for example) - this is called composition. 6, Understand what kind of access the class x functions have to variables and functions in class y. 7. Understand what kind of access a client of class x has to variables and functions in class y and