Ready answers to the Test Programming in C.
Educational institution: SYNERGY, MY, MIT.
: fresh.
The result of passing is 95-100 points.
Below you can find questions on the Programming in C test.
QUESTIONS FOR THE TEST:
An integer that can be assigned to a pointer is...
To initialize a pointer you can use...
In C language, into a function as parameters...
To access the elements of an object when accessing through the object name, use ...
The value of the expression (a
In C++, the built-in data type int is designed to store...
The return statement in the function body must be used...
The namespace operator is intended to...
The C++ keyword... is used to describe a structured data type whose memory elements all start at one GB
Two forms of using overloaded operators:...
... operations can be overloaded
If there is a semicolon after the expression, then...
Polymorphism in object-oriented programming is implemented...
Operator overloading occurs using operator...
The int type on 32-bit computing systems has a range of values from ...
According to the general rules for choosing an overloaded operator,... (specify 2 answer options)
... pointer - this is a pointer whose value cannot be changed after initialization
Constant
Declaration char*buf; corresponds to the creation...
To declare a friendly function, use the keyword...
A float variable has a size in bytes equal to ...
A pointer is called...
To define a pointer, you must use the entry:...
Restricting access to the components that make up an object (methods and variables) is...
Constants can contain...
The basic principles of object-oriented programming include...
A named part of a program containing a specific set of operations is called...
Polymorphism is implemented through mechanisms...
Polymorphism is a means that allows...
Functions are called virtual...
The correct declaration of a derived class is...
The function described in the header file reads a string of characters from a file
If class elements are declared as ... (specify 2 answer options)
Friendly function - this function...
To declare a virtual function, use the keyword...
The difference between a virtual function and a regular function is that...
If an arithmetic expression involves an integer and a real operand, then...
The correct option for allocating dynamic memory for a float variable X:...
The input stream is used for...
To work with output streams, use...
The class used to work with input streams is ...
The iostream class is used to handle...
A variable of type unsigned char can store numbers...
A variable of type unsigned char can store numbers...
An integrated programming environment may include a component such as...
An integrated programming environment may include a component such as...
The numerical value of the expression e/2*a-abs(e)*1e0 (for e = 4, a = 2) will be equal to...
Standard stream...
If the subtraction operation is defined for two objects of class A, and the conversion operation to int is not defined, A a1, a2, a3 = 5; tpri a3 = al -a2;
The expression contains no syntax errors...
The concept of “programming paradigm” includes ... (indicate 3 answer options)
Inheritance is...
Modular programming is...
By function scope we mean...
... is a way of defining a function in which the return result from the function for a given argument value is determined based on the return result from the same function for the previous (smaller or larger) argument value
No feedback yet