9.In which of the following scenarios may pointers be utilized in ANSI C? O A set of functions which collect data from sensors and adjust an output vahue based on a linear control algorithm O A set of functions implementing useful mathematical functions, in which operands are passed in as argument and the retum type given through the return value O A set of functions which search through data records stored in memory as structs looking for a match between a given argument and a particular field of the struct O A set of functions responsible for handling a set of data records such that the sequence of the records is important, but records are not stored consecutively in memory O A set of function which compare elements of an array in place and rearrange them in order according to the same mumber

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Please answer the all McQ questions given in below.....

9.In which of the following scenarios may pointers be utilized in ANSI C?
O A set of functions which collect data from sensors and adjust an output value based on a
linear control algorithm
O A set of functions implementing useful mathematical functions, in which operands are passed
in as argument and the retum type given through the return value
O A set of functions which search through data records stored in memory as structs looking for
a match between a given argument and a particular field of the struct
O A set of functions responsible for handling a set of data records such that the sequence of the
records is important, but records are not stored consecutively in menmory
O A set of function which compare elements of an array in place and rearrange them in order
according to the same mumber
11.A user opens an existing file for editing by issuing the "vi my_file' command and moves the
cursor to the 70th line. The editor is not in INSERT mode. Which of the following statements
correctly describe the results of executing a?^a.*d$?-1 command?
O It will search backwards (from the curent cursor position) for a word that begins with 'a' and
ends with 'd'.
O If the search is successful the cursor will move to the line before the line containing the search
string.
O It will search backwards (from the line above the current line) for a word that begins with 'a'
and ends with 'd'.
O It will search backwards (from the line above the curent line) for a line that begins with 'a'
and ends with 'd'.
O If the search is successful the cursor will move to the line containing the search string.
12.A user opens an existing file for writing by issuing the 'vi my_file' command and has not
performed any editing actions. Which of the following statements are correct?
O The :1,2w my_old_file command will always save the first two lines in file my_old_file .
O The w $.zz command will attempt to copy to file my_file to file my_file.zz.
O The :e# command will cause the editor to reread the file.
O The zz command will cause the editor to be excited.
O the :ws command will share the file currently being edited
Transcribed Image Text:9.In which of the following scenarios may pointers be utilized in ANSI C? O A set of functions which collect data from sensors and adjust an output value based on a linear control algorithm O A set of functions implementing useful mathematical functions, in which operands are passed in as argument and the retum type given through the return value O A set of functions which search through data records stored in memory as structs looking for a match between a given argument and a particular field of the struct O A set of functions responsible for handling a set of data records such that the sequence of the records is important, but records are not stored consecutively in menmory O A set of function which compare elements of an array in place and rearrange them in order according to the same mumber 11.A user opens an existing file for editing by issuing the "vi my_file' command and moves the cursor to the 70th line. The editor is not in INSERT mode. Which of the following statements correctly describe the results of executing a?^a.*d$?-1 command? O It will search backwards (from the curent cursor position) for a word that begins with 'a' and ends with 'd'. O If the search is successful the cursor will move to the line before the line containing the search string. O It will search backwards (from the line above the current line) for a word that begins with 'a' and ends with 'd'. O It will search backwards (from the line above the curent line) for a line that begins with 'a' and ends with 'd'. O If the search is successful the cursor will move to the line containing the search string. 12.A user opens an existing file for writing by issuing the 'vi my_file' command and has not performed any editing actions. Which of the following statements are correct? O The :1,2w my_old_file command will always save the first two lines in file my_old_file . O The w $.zz command will attempt to copy to file my_file to file my_file.zz. O The :e# command will cause the editor to reread the file. O The zz command will cause the editor to be excited. O the :ws command will share the file currently being edited
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY