The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Jul 2017 |
| Last Sign in: | 304 Weeks Ago, 1 Day Ago |
| Questions Answered: | 15833 |
| Tutorials Posted: | 15827 |
MBA,PHD, Juris Doctor
Strayer,Devery,Harvard University
Mar-1995 - Mar-2002
Manager Planning
WalMart
Mar-2001 - Feb-2009
What is the relationship between C and C++?
Select one:
a. C is a subset of C++
b. C constructs behave the same in C++ as they do in C
c. C++ code is conforming C code
d. C and C++ have a large degree of source compatibility
Â
In C++, a const variable:
Select one:
a. cannot be initialized
b. may, optionally, be initialized
c. must be initialized
d. needs not be initialized
Â
In C, enumeration constants are always implemented as which type?
Select one:
a. char
b. double
c. float
d. integer
Â
What features of C++ have made it attractive to industry?
Select one:
a. C++ is an improvement of C and includes classes
b. C++ is implemented on computers using a virtual machine
c. C++ is suitable for programming other devices, such as smartphones
d. C++ was used to develop operating systems, such as Unix
Â
Object-oriented programming is a popular programming paradigm because:
Select one:
a. it is based on the works of the early Greek philosopher Plato.
b. it focuses on process.
c. it is procedural.
d. it reflects how we think of the world.
Â
Java is highly portable because it is implemented as:
Select one:
a. a compiler.
b. an interpreter.
c. a compiler and an interpreter for bytecode.
d. a compiler and an interpreter for a target machine.
Â
What was a design goal of C++?
Select one:
a. Compatibility with Java
b. High portability
c. Implementation independence
d. Infrastructure programming
Â
Â
C++ source code is:
Select one:
a. compiled to native executable machine code for a target machine.
b. interpreted, rather than compiled.
c. platform-dependent.
d. run on a virtual machine.
Â
Inheritance is ____ in C++ and in ______ in Java.
Select one:
a. single; single
b. single; multiple
c. multiple; single
d. multiple; multiple
Â
In C++, an object is a:
Select one:
a. reference.
b. value.
c. reference by default, via a pointer or reference to the object, or optionally a value.
d. value by default, or optionally by reference via a pointer or reference to the object.
----------- Â ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly