Answer:
1 35
Explanation:
* There is a little typo in printf. It should be "\n".
Initially, the value of the first is 1, and the value of the second is 2. Then, do_something(&second, first) is called. The value of the <em>first</em> will still be 1. However, there is a call by reference for <em>second </em>variable. That means the change made by the function <em>do_something</em> will affect the value of the <em>second</em> variable.
When you look at the calculation inside the <em>do_something</em> function, you may see that value of the <em>second</em> will be 35.
The answers of the following are:
1. The answer is Linux. It is not an Operating System.
2. Windows XP 2000 and Windows XP Home Edition have the same interface design.
3. Linux is the operating systems which is considered to be open source.
4. Mac OS is an operating system which is considered to be the most popular with graphic and multimedia designers
5. The software programis the number and variety of programs available for a particular operating system.
Answer:
Following are the program in the Python Programming language.
#define function
def negative_num(num_list):
#set list type variable
nlist=[]
#set the for loop
for n in num_list:
#check negative numbers
if(n<0):
#add the value of n in list
nlist.append(n)
#return list
return nlist
#set new list type variable that store list
newl=[-5,8,-6,3,-4,9,-7]
#print and call the function
print(negative_num(newl))
<u>Output</u>:
[-5, -6, -4, -7]
Explanation:
Here, we define the function "negative_num" and pass an argument "num_list" in its parameter and inside the function.
- Set new list data type variable "nlist".
- Set the for loop which iterate as the list.
- Set the if conditional statement to check the value of the list is less than 0 then, add that negative values in the variable "nlist".
- Then, return the new list.
Finally, we set a variable "newl" which store the list of negative and positive numbers then, we print and call the function.
<span>What is used to switch to Outline View?
the Insert tab
the status bar
the Mailings tab
the Page Layout bar</span>
Actually,
it is found in the VIEW TAB which is in the STATUS BAR. Coincidentally, all of
those tabs can be found in the status bar.
Answer: Networking protocols are important as they define a set of rules to be used for exchanging information between computer nodes.
Explanation:
in terms of networking it is required for the source and the destination to have a set of predefined rules which enables the router to send and receive information across the network in such as way that both the ends are able to receive the messages.
The information exchange takes place first by the client by introducing itself to the remote server. the remote server upon receiving the information uses some form of handshaking and acknowledges the client of the receipt of the message.
besides this there are many routing protocols which tells us about the way how packets are sent from the client to the source. There are two types of routing protocols:
1. static routing protocols
2. dynamic routing protocols.