I.T. Discussion Community!
-Collapse +Expand
C++
Search C++ Group:

Advanced
-Collapse +Expand C++ To/From
To/FromCODEGuides
-Collapse +Expand C++ Study Test
PRESTWOODCERTIFIED
C++ Study Test◄╣
-Collapse +Expand C++ Store
PRESTWOODSTORE

Prestwood eMagazine

June Edition
Subscribe now! It's Free!
Enter your email:

   ► Prestwood Certified   Print This    All Groups  
Printable Version Print Answers

C++ Study Test

Practice tests to further your career.

Intro

The following study test contains practice certification questions along with a study link for each question.  These questions were prepared by Mike Prestwood and are intended to stress an important aspect. All our practice questions are intended to prepare you specifically to earn your Prestwood certification and generally for passing any certification test as well as prepare you for professional work.

Features:

  • Each question has a popup [Review] link.
  • Hover over answers to reveal correct answer.

3 Questions


Mouse over answers to reveal correct answer.

Beginner

2 Beginner Level Questions

Question #1: Multiple Choice

In C++, when you create an object instance from a class, C++ calls a special member function named what?

Answer:
1. 

New

2. 

Class_Initialize

3. 

~ + class name, i.e. ~Person

4. 

Same name as the class.

5. 

Create

Question #2: True or False?

C++/CLI supports implicit casting which allows you to use the + operator to concatenate strings and numbers as in the following line of code:

MessageBox::Show("I am " + 42 + " years old.");
Answer:
  • True
  • False

  • Intermediate

    1 Intermediate Level Question

    Question #3: True or False?

    Constants defined as static const are not viewed as a constant by the CLR runtime.

    Syntax Example:

    static const int PI = 3.14;
    Answer:
  • True
  • False
  • Follow PrestwoodBoards on: 


    ©1995-2019 PrestwoodBoards  [Security & Privacy]
    Professional IT Services: Coding | Websites | Computer Tech