Answer:
The correct answer for the given question is option(a) i.e Local - within that function.
Explanation:
The variable which is declared inside any function are called as local variable The scope and lifetime of local variable is inside that block or function only.
They cannot access outside the function.
Following are the example of local variable
#include <stdio.h> // header file
void fun(); // function prototype
int main()// main function
{
fun(); //calling function
print("%d",t); // it gives error because t is local variable cannot access in main function
return 0;
}
void fun()
{
int t=9;// local variable
printf("t is local variable which value is:");
printf("%d",t);
}
As we seen that t cannot access outside the function .So correct answer is option(a)
The scope of a variable declared inside of a function is local - within that function. This prevents naming conflicts and ensures control over where a variable can be changed.
The scope of a variable declared inside of a function is typically local to that function. This means that it can only be accessed and manipulated within the function it is declared. It is not visible or accessible from outside of the function or elsewhere in the program file, hence options b) and c) are incorrect. This principle is fundamental in programming languages such as JavaScript, C++, Python, etc., and it is designed this way to prevent naming conflicts and provide control over where a variable can be changed.
#SPJ6
b. virtual circuits require the assignment of dedicated physical links during network connection
c. regarding the efficient use of physical links, virtual circuits are more efficient than analog circuits
d. both a and b are true statements"
Answer:
The correct option is D
Explanation:
Generally for a virtual circuit both analog and digital networks take advantage of the virtual circuit concept
Generally virtual circuits require the assignment of dedicated physical links during network connection
Generally regarding the efficient use of physical links, virtual circuits are NOT more efficient than analog circuits
Answer:
C.system prototyping
Explanation:
Prototyping produces a quickly constructed working version of the proposed information system.
Planning
↓
Analysis
↓
Design
↓
System prototyping
↓
Implementation
Answer:
c. system prototyping
Explanation:
system prototyping produces a full-featured, working model of the information system.
Answer:
Explanation:
import java.util.Array;
public class Items{
public static void main (String {} args){
// a. Set up 4 arrays which hold data about 6 items you want to sell
int [] itemnum = new int[](1,2,3,4,5,6);
int [] quantity = new int[](500,200,350,100,270,300);
double [] price = new double [](10000, 50000,30000, 22000, 26000,100200);
double[] sales = new double [6];
//b. Set up loops to load the itemnum, quantity and price arrays
for(int I=0;I<6;I++)
{
System.out.println("Item "+itemnum[I]);
System.out.println("Item "+quantity[I]);
System.out.println("Item "+price[I]);
}
//c. Set up another loop to calculate values for the sales array.
for(int j=0;j<6;j++)
{
sales[j] = quantity[j] * price[j];
}
//d. Set up another loop to print the item number and sales amount for each transaction
for(int k=0;k<6;k++)
{
System.out.println("Item Number "+itemnum[k]);
System.out.println("Sales Amount "sales[k]);
}
//e. Set up another loop to calculate the total sales of all 6 items
double totalsales = 0;
for(int l=0;l<6;l++)
{
totalsales+=sales[l];
}
//f. print the total sales amount
System.out.print("Total Sales: "+totalsales);
}
}
Answer:
customer-serious orientation
Explanation:
Customer-serious orientation can be defined as the willingness to put a customer’s needs above ones own needs and to go beyond a job description to achieve customer satisfaction.
This ultimately implies that, a customer-serious oriented business firm or company puts the needs, wants and requirements of its customers first without considering their own needs in a bid to satisfy and retain them.
Hence, customer-serious orientation requires the employees working in an organization to show and demonstrate positive attitudes and behaviors at all times.
A lot of laptops and desktop computers are known to have built-in slots that can connect with a cable lock. A person can keep their Laptops from getting Lost or stolen by;
learn more about laptop from
Answer & Explanation:
No Browsing History:
Phishing Scam
Suspicious File Attachment
Antivirus Software Outdated
Laptop's Physical Security
Answer:
True
Explanation:
The arithmetic and logic unit (ALU) in a microprocessor is the digital electronic component which carries out arithmetic and logic operations on the provided operands. It is typically integrated as part of the microprocessor chip though standalone ICs are also available.
Some examples of the operations performed by ALU in common microprocessors include: