Review for CSCI 123 Introduction to Programming Concepts in C++
Recommend Documents
CSCI 220. Introduction to Computer Science. CSCI 221. Programming Concepts
and Problem Solving I or. MATH 140 (or higher). College Algebra or. CSCI 222.
We will use Microsoft Visual C++ Express. Edition. ⣠Available from Microsoft for free. ⫠http://www.microsoft.com/v
Jan 18, 2011 - âAn introduction to computer programming based upon early coverage of .... ence (http://www.slu.edu/colleges/AS/academic honesty.html) which apply to this ... online information other than that referenced by course materials ...
Python Programming: An Introduction to Computer Science, Second Edition (
Python 3.x) by John Zelle,. Ph.D. ISBN-‐10: 1590282418. ISBN-‐13: 978-‐ ...
and second section is a comparison between C++ and C and the final section is ...... int main ( ). { clrscr ( ) cout
Programming in the assembly language vs. high-level language and the
powerful features of. C for embedded systems. Programming Concepts and
Embedded.
Oct 25, 2018 - Fun. ⢠Catharsis. ⢠Social. ⢠Pass time. ⢠⦠Remember that what has made games such a long-lasting form of human entertainment is not ...
CSCI 580. Introduction to ARTIFICIAL INTELLIGENCE. Syllabus. Time/Location:
MW 5:00pm – 6:15pm OCNL 241. Instructor: Dr. Elena Harris. E-mail: ...
CSCI 120: Introduction to Information Technology. Prof. David Keil, Fall 2013,
Framingham State University. SYLLABUS. Invitation. What do you need to know ...
Sep 18, 2015 ... The program we will exploit is the “Badly Coded File Archiver,” or BCZIP (loosely
modeled on the ... which is installed setuid root. This program ...
An Introduction to Programming with C# Threads. Andrew D. Birrell. This paper
provides an introduction to writing concurrent programs with “threads”. A threads
...
The programming language used is C#, but most of the tutorial applies ..... thread
executing inside the “lock” statement is said to “hold” the given object's lock.
The following program is written in the C programming language: • C is case ...
The C program starting point is identified by the word main(). • This informs the ...
Anatomy of a CUDA C/C++ Application. Serial code executes in a Host (CPU)
thread. Parallel code executes in many Device (GPU) threads across multiple ...
C++ (3rd Edition) By Y. Daniel Liang Full Ebook,PDF Free Introduction To ... students in Computer Science and Computer P
9.1.5 The Bit Stuffing Rule . .... 9.3.12 The Bit Configuration Register 2 (BCR2) . ...... During that period, I came across the F2812's 16-bit fixed- point counterpart ...
Introduction to Programming with C++ (3rd Edition) Free PDF Download, Introduction to ... to Programming with C++ (3rd E
Textbook: H. M. Deitel and D. J. Deitel, C: How to Program, Pearson ... to
introduce students basic programming and to give them the ability to solve some
simple ...
the fundamentals concepts in programming and informatics as a junior/senior ... Among several other jobs, he has worked part-time for Indiana State University and ...... Available at: [Accessed 27.
Abstract. Generic programming has emerged as an important technique for the development of highly reusable and efficient software libraries. In C++, generic ...
Abstract. Generic programming has emerged as an important technique for ..... up the figure, we find increasingly generic implementations that subsume the ...
23) What is the data type of âaâ? 24) Is the string literal âBradâ null terminated? 25) Is the string literal â
Review for CSCI 123 Introduction to Programming Concepts in C++ I’ve written down a few topics that you should go over in order to prepare for my exam. This doesn’t limit you to all the questions that I might ask, nor does it guarantee that you’ll see these questions. However, it should get you on the right track for the type of questions that you may see. In addition, you will give questions that ask you to code specific problems. 1) What is top down design? Why is it helpful? Why is it important? 2) What happens when you invoke your compiler against your source code? What processes execute? What does each of the processes produce if it produces anything? 3) What are of the key principles of Object Oriented Programming? 4) What is inheritance? Can you provide an example that you’ve used in your programs that inheritance helped (think of functions and parameters)? 5) What is function overloading? 6) What is the difference between static variables and dynamic variables? 7) Review all your control structures (if/else if/else; while, for, switch). 8) What is an algorithm? How is it different from pseudo code? 9) What are computer bugs? 10) What are cstrings? 11) What are strings? What library is the string class from? What other objects have you used from this library? 12) What is the ternary operator? What is it usually substituted for? 13) What are the three forms (we’ve discussed) of passing arguments? 14) What does a pointer store? Why is this different from other variables we’ve used before pointers? 15) What is bad about strcpy()? Is there are problem with strcpy? 16) What function can you use instead of the strcpy() function? Will this function work with other compilers besides Visual Studio? 17) How are variables stored in the computer’s memory? As integers? 18) What does the keyword unsigned do? What other name have you used for unsigned int? 19) What does the const modifier do? Why do you use it? 20) What are const member functions? Give an example? Why do we use them? 21) Can member variables and functions have other access besides private? What other access have we discussed? 22) What is the data type of ‘a’? 23) What is the data type of “a”? 24) Is the string literal “Brad” null terminated? 25) Is the string literal “Brad” const? 26) When you declare and define functions in the same file as your main() function, what are these functions known as?
27) What is a macro? Have you used them in your programs? What process (think compiler) handles macros? 28) Why do we separate the declaration and implementation in header and cpp files C++? 29) What is a vector? What library does it come from? What structure would you use a vector to replace? 30) What do you know about the Stack data structure? Can you show where how it is used in C++? 31) What are destructors used for? 32) What are constructors used for? 33) If you overload an assignment operator, you usually need to provide implementation for what else? 34) Given a class B that inherits from a class A, when we construct an instance of B do you need to explicitly construct A? Why or why not? 35) Given a class B that inherits from a class A, when we destruct an instance of B, do you need to call the destructor for A? 36) What do you know about type promotion? When does this occur? 37) What do you know about the post increment operator and pre increment operator? Give an example of the difference. 38) What do you know about the keyword friend? Is a friend function a member function? 39) What is the default access of a structure? 40) What is the default access of a class? 41) When would you use a structure as opposed to a class? When would you use a class as opposed to a structure? 42) What is the difference between a structure and a class (as far as C++ is concerned)? 43) What do you know about programming style? Is it important? What is the purpose? What about documentation? I used Javadoc style comments do all C++ programmers use this? 44) When is the default constructor called? 45) When is the copy constructor called? 46) What does the default assignment operator do? 47) Why would you subclass an existing class? 48) What is the difference between class and an object? 49) Have you used the Standard Template Library (STL)? What classes? Why is it useful? 50) What is program design (two phase process development process)? 51) How are arrays passed to functions? 52) How do you return an array? 53) What are the differences between static arrays and dynamic arrays? Give an example. 54) How can you determine which constructor is the copy constructor? 55) How can you determine which constructor is the default constructor? 56) How does the compiler know your overloading an operator? 57) What is inefficient about static arrays? 58) Why would you use a dynamic array over a static array?
59) Given the following code example, draw the function stack as it would look if we paused execution at line 18? 1 void foo(int aVar); 2 void foo2(int aVar); 3 4 int main() { 5 int a = 3; 6 int b = 6; 7 Cout