Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Date: Theory/Short Answer (2pts each) Please answer the following five questions

ID: 3726054 • Letter: D

Question

Date: Theory/Short Answer (2pts each) Please answer the following five questions using True or False 1. 1_A file is a collection of data that is stored for internal and external storage. 2.--when passing by reference, you make a copy of the actual pararmeter's address and pass it into the designated function's formal parameter values 3. File appendage is one way to store values into a program. Pseudocode is an informal low-level description of the operating procedures of a computer program. 4. When passing members of a structure into a function, this constitutes pass by value. (2pts each) For Questions 6-10, match the correct term (a-e) with the correct statement: a. activation record b. array c. nullptr a group of data elements grouped together under one name. 7. 8. 9. 10. serves the purpose of initializing a pointer to the address 0 is a mode used to write data to an external textfile. serves as a memory entity for holding the values of formal arguments allows you to store and work with multiple values of the same data type.e. file out put 11. (5pts) What is a function prototype? 12. (5pts) What is a value returning-function? his he

Explanation / Answer

1) True
2) False
while passing by reference the address in memory location is pass and all the manipulation perform on the actual data.

3) True
Using file appendage the value is write in a specified file when program is executed.Hence, it is a way to store value in program

4) False
Pseudocode is an informal high-level description of the operating principle of a computer program.

5) False
structure memeber are pass by reference using pointers.

6) - (d) Structure
Structure is a collection of variables of different data type under common name.

7) - (e) File Output

9) - (b) Array
Array is the collection of variable of same data type.

10) - (c)nullptr
"nullptr" or null pointer is used to initialised pointer to address 0  

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote