C++ Institute CPE Certified Entry-Level Programmer (CPE-20-01) Certification Sample Questions

CPE Certified Entry-Level Programmer Dumps, CPE-20-01 Dumps, CPE-20-01 PDF, CPE Certified Entry-Level Programmer VCE, C++ Institute CPE-20-01 VCE, C++ Institute CPE - C++ PDFThe purpose of this Sample Question Set is to provide you with information about the CPE - C++ Certified Entry-Level Programmer exam. These sample questions will make you very familiar with both the type and the difficulty level of the questions on the CPE-20-01 certification test. To get familiar with real exam environment, we suggest you try our Sample C++ Institute CPE Certified Entry-Level Programmer Certification Practice Exam. This sample practice exam gives you the feeling of reality and is a clue to the questions asked in the actual CPE - C++ Certified Entry-Level Programmer certification exam.

These sample questions are simple and basic questions that represent likeness to the real C++ Institute CPE-20-01 exam questions. To assess your readiness and performance with real time scenario based questions, we suggest you prepare with our Premium C++ Institute CPE Certified Entry-Level Programmer Certification Practice Exam. When you solve real time scenario based questions practically, you come across many difficulties that give you an opportunity to improve.

C++ Institute CPE-20-01 Sample Questions:

01. How do you declare an array of structures?
a) struct Array[10];
b) struct MyStruct array[10];
c) MyStruct array[10];
d) Both struct MyStruct array[10]; and MyStruct array[10];
 
02. Which keywords are used to handle multiple conditions in C++?
a) if
b) else
c) switch
d) case
e) continue
 
03. The ______ operator is used to release dynamically allocated arrays.
a) delete
b) delete[]
c) free
d) clear
 
04. Which functions are available to manipulate strings in C++?
a) strcpy()
b) std::string::replace()
c) std::string::find()
d) std::string::erase()
e) strcmp()
 
05. How do you declare a function in C++ that does not return any value?
a) void functionName()
b) int functionName()
c) return functionName()
d) null functionName()
 
06. What are characteristics of dynamically allocated memory?
a) Managed using new and delete
b) Resides on the stack
c) Requires manual deallocation
d) Can be resized with realloc()
e) Lifetime is independent of scope
 
07. Pointers initialized to ______ cannot be dereferenced.
a) nullptr
b) 0
c) NULL
d) All of the above
 
08. What can cause short-circuit evaluation in C++?
a) Logical AND (&&)
b) Logical OR (||)
c) Equality operator (==)
d) Not operator (!)
e) Bitwise AND (&)
 
09. Which of the following functions returns the length of a std::string?
a) size()
b) length()
c) strlen()
d) Both size() and length()
 
10. Functions can pass arguments by ______ to avoid modifying the original variable.
a) pointer
b) reference
c) value
d) constant

Answers:

Question: 01
Answer: d
Question: 02
Answer: a, b, c, d
Question: 03
Answer: b
Question: 04
Answer: b, c, d
Question: 05
Answer: a
Question: 06
Answer: a, c, e
Question: 07
Answer: d
Question: 08
Answer: a, b
Question: 09
Answer: d
Question: 10
Answer: c

Note: For any error in CPE - C++ Certified Entry-Level Programmer (CPE-20-01) certification exam sample questions, please update us by writing an email on feedback@edusum.com.

Rating: 5 / 5 (1 vote)