Explanation:
Data structure is a way of gathering and organizing the data in such a way that we can perform operation on the data very efficiently.There are different types of data structures such as :-
- Arrays
- Linked list
- Stacks
- Queues
- Trees
- Graphs
These are the basic data structures.
Algorithm:-It is a finite set of instructions written to accomplish a certain task.An algorithm's performance is measured on the basis of two properties:-
- Time complexity.
- Space complexity.
Software developers need to know data structures and algorithms because all the computers rely on data structures and algorithms so if you know data structures and algorithms better you will know the computer better.
Answer:
A traffic controller is basically a system design to regulate traffic in a controlled manner with a set of traffic rules to follow so as to ensure public safety .
The main functions of a traffic light controller are listed below:
- To direct and regulate vehicular and pedestrian traffic
- To ensure safety of construction workers, emergency response team and public in general in order to avoid accidents
- These also uses CCTV and other monitoring system to manage flow of traffic and suggestion concerned with traffic congestion. These are provided by local or state authorities.
- To ensure smooth traffic flow in order to save time and chaos.
Answer:
(3) option is the correct answer.
Explanation:
Constructors need to initialize the object in the memory. "To declare the Constructor for any class the user needs to specify the constructor name which is already the class name". This is an object-oriented language guideline.
It is because the object is created by the name of the class and Constructor is used to allocate the memory for the object. hence Constructor is created by the name of the class.
For example--
class test //class name test
{
test() //created a constructor with class name "test"
{
}
}
In the above example class name and constructor name are same if it not then it will gives a error.
Another option is not valid for the answer to the above problem because-
- Option 1 is wrong because, for any class, the data member is a type of variable, which is used to store the data and is accessed with the help of an object.
- Option 2 is wrong because, for any class, member function is a type of user function used to accessed the variable and expressions.
- Option 4 is wrong because, package is a set used to hold classes and interfaces.
Answer:
Option (A) is the right answer.
Explanation:
According to the scenario, the user system is giving the error of invalid certificate while other users on the same network do not report any error, which means that there is some problem in a particular system.
Date and time can also be one of the main cause of this error because wrong date and time creates problem in surfing many websites by giving certificate error.
Hence the most appropriate answer is option (A).
While other option are wrong because of the following reasons:
- UEFI boot mode is mainly used in booting the operating system and has no connection with network.
- Logon time is also wrong because if the problem is with the login server, it can not give certificate error.
- User access control is also not correct because it is used to control the access of the user.
Answer:
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Explanation:
It is easy to understand. Algorithm is a step-wise representation of a solution to a given problem. In Algorithm the problem is broken down into smaller pieces or steps hence, it is easier for the programmer to convert it into an actual program
Algorithms are time-consuming. Big tasks are difficult to put in algorithms. Difficult to show branching and looping in algorithms. Understanding complex logic through algorithms can be very difficult.