SYNERGY Answers C Programming Basics Test 2021. Passed by 97-100 points. All answers are highlighted in the file.
1. In order to describe a variable of the one-dimensional array type in the program, you need to write: ...
2. Preprocessor directives begin with a character that must be the very first character of the line
3. The function of processing string data islower (c) returns true if c is and false otherwise
4. In C, the name of a non-void function ... from an assignment operation
5. If an error occurs when opening a stream - the disk is full (during recording), then the pointer to the stream will acquire ...
6. ... there is a process of recording the values of variables at each step of the program
7. In C, the operator ... allocates memory from the free memory area
8. The process of setting some variable of primary value is called ...
9. To use the method of passing the output values of functions, a prefix is put in the list of formal parameters in front of the variable parameter ...
10. In the C language ...
11. To process the elements of a two-dimensional array, on the lines of which some conditions are imposed, it is required when viewing this array inside the loops to set a condition on ...
12. If you need to copy the elements of array B to array A, ...
13. ... an array is a one-dimensional array, each element of which is its own one-dimensional array, or, in other words, it is a data type, the elements of which are of the same type and each of them is characterized by a unique pair of numbers: a row index and a column index
14. Random access to the components of a file means working with a file with the possibility of arbitrary movement ...
15. The main data types of the language in C include ... - the smallest floating point type
16. If the file associated with the stream, which is opened in the open mode w, already exists, then ...
17. ... is the process of decreasing the value of a variable
18. In the C language, it is recommended to initially use when writing programs
19. The pointer is moved to an arbitrary file position using the fseek function, which is written as int fseek (FILE * f, long off, int org); where FILE * f is ...
20. If the declaration of global variables occurs in the main program, then during its operation the values of the global variables are written to a memory area called ...
21. Identifiers are ...
22.B C data type bool is ...
23. B C cyclic algorithmic control structure with a parameter is written as ...
24. Speaking about the order of access to the elements of a two-dimensional array, it can be argued that ...
25. The #include directive includes the contents of the specified file into the program, the name of which can be specified in two ways, in particular: ...
26. The description of the formal parameters of the function algorithm occurs ...
27. Square matrices are matrices in which ...
28. To make the text of a program in C more understandable, it is recommended to adhere to generally accepted conventions about object naming, in particular, if the name consists of several words (for example, first index), it is accepted ...
29. Names of formal and actual parameters ...
30. In C, the operator ... releases allocated memory
31. The main types of language in C include ... - type with floating point, increased precision
32. If you make a single cyclic shift of the array elements to the right, then ...
33. A file is ...
34. Identifiers described in a function are local to it if ...
35. The file associated with the stream, in the open mode, is opened for ...
36. Variable parameters are used to pass ... values of functions
37. String data can be added to each other (for example, adding the strings "Hello" and "world!" Will result in the string "Hello, world!"), And such an operation on strings will be called ...
38. In C, the compiler can work with variables of different types, ie. if you assign an integer variable the value of a real variable
40. The beginning of a one-line comment in C ++ is indicated by the combination ...
41. Function for processing string data strcat (s1, s2) ...
42. The most natural objects that are usually stored in two-dimensional arrays are ...
43. Identifiers may consist of ...
44.B C ++ all files ... sequence of bytes
45. Range of data type float -...
46. In C ++, a cyclic algorithmic control structure with a postcondition is written as ...
47. Speaking about one-dimensional arrays, it can be argued that ...
48. Direct passage should be used when implementing ...
49. Speaking about the algorithms for calculating the sum and the product of array elements, it can be argued that the accumulation of the sum begins with ...
50. In C ++, a comment block (conditional form of program blocks) is distinguished by a combination of symbols ...
51. If access to elements of multidimensional arrays is carried out using indexed variables a [1] [1], then access to the same element using pointers will be ...
52. To create variables that are available in all program files, a memory class is used ...
53. Local data is written to an area of memory called ...
54. Output parameters are ...
55. Change the mode of working with a file ...
56. Sparse matrices are matrices for which ...
No feedback yet