C++ Institute CLE Certified Entry-Level Programmer (CLE-10-01) Certification Sample Questions

CLE Certified Entry-Level Programmer Dumps, CLE-10-01 Dumps, CLE-10-01 PDF, CLE Certified Entry-Level Programmer VCE, C++ Institute CLE-10-01 VCE, C++ Institute CLE - C PDFThe purpose of this Sample Question Set is to provide you with information about the C++ Institute CLE - 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 CLE-10-01 certification test. To get familiar with real exam environment, we suggest you try our Sample C++ Institute CLE 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 CLE - C Certified Entry-Level Programmer certification exam.

These sample questions are simple and basic questions that represent likeness to the real C++ Institute CLE-10-01 exam questions. To assess your readiness and performance with real time scenario based questions, we suggest you prepare with our Premium C++ Institute CLE 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 CLE-10-01 Sample Questions:

01. The truth table below gives a result r for every combination of two conditions p and q:
p = 0, q = 0 gives r = 0
p = 0, q = 1 gives r = 1
p = 1, q = 0 gives r = 1
p = 1, q = 1 gives r = 1
Which operator produces this table?
a) &&
b) !=
c) ||
d) !
 
02. Each item below pairs a printf call with the text it writes. Which pairings are correct?
(Choose two.)
a) printf("%x", 255) writes ff
b) printf("%o", 9) writes 9
c) printf("%d", 0x1F) writes 1F
d) printf("%x", 16) writes 16
e) printf("%o", 8) writes 10
 
03. Three whole test scores are averaged and the average must print as 74.3.
int a = 70, b = 75, c = 78;
printf("%.1f", ______);
Which expression correctly completes the blank?
a) (a + b + c) / 3
b) (a + b + c) / 3.0
c) a + b + c / 3.0
d) (a + b + c) % 3.0
 
04. Five declarations appear in one function. The syllabus separates primary data types from derived data types. Which of these declarations introduce a derived type?
(Choose two.)
a) const float rate;
b) unsigned long total;
c) int *offset;
d) char name[20];
e) short count;
 
05. The syllabus groups the conditional statements and the loop statements together as control instructions. What do control instructions have in common?
a) They govern which statements run, and how often, rather than what value is computed
b) They are handled before translation and removed from the compiled program entirely
c) They each yield a value that can be stored in a variable, and so behave as expressions
d) They may appear only at the top level of a function and never inside one another
 
06. A loop is written as while (n != 0) n -= 2; with n starting at 5. Why is this loop unsafe?
a) Compound assignment cannot be the whole body of a while loop
b) n takes only odd values, so it steps past 0 and the condition never becomes false
c) A while condition must use a relational operator, so != is rejected
d) n lands precisely on 0 following three passes, so the loop terminates normally
 
07. Which loop header runs forever unless something in the body leaves the loop explicitly?
a) while (0)
b) for (i = 0; i < 0; i++)
c) do { } while (0);
d) for (;;)
 
08. An array and a pointer are declared as int a[4]; and int *p = a;, and every element has been given a value. Which expressions yield the same value as a[2]?
(Choose three.)
a) *(a + 2)
b) *(p + 2)
c) p[2]
d) *a + 2
e) a + 2
 
09. Read the fragment below.
char c = 'A';
printf("%c", c + 2);
Taking the ASCII codes the syllabus names, what is printed?
a) A2
b) C
c) The numeric code of the character
d) a
 
10. A program has to do three things in sequence: read a count typed by the user, set aside room for that many int values, and hand that room back before the program ends.
Which three standard library functions does that require, in that order?
a) printf, then malloc, then free
b) scanf, then free, then malloc
c) scanf, then strlen, then free
d) scanf, then malloc, then free

Answers:

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

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

Rating: 4.8 / 5 (111 votes)