What is the purpose of the command prompt?
the command prompt is a program where you can command the computer to perform functions such as shutdown, restart, open a certain file, start a program, etc.
What makes SONET a highly fault tolerant technology?
It uses of dual fiber-optic rings to connect nodes.
What are the relationships between priority and FCFS of CPU scheduling algorithms?
this is my doubt about the non-preemptive priority scheduling. i m doing bachelor of engineering in IT and this question in end semester exam. the question is as follows:
Assume you have the following jobs to be executed with one processor, with the jobs arriving in the order listed here:
Process Burst Time Priority
P1 80 5
P2 20 1
P3 10 3
P4 20 2
P5 50 4
Suppose the system uses priority scheduling. Draw Gantt chart and calculate average waiting time for the processes.
My doubt is:
suppose if we were to use non-preemptive priority scheduling, the question says the jobs arriving in the order listed, so as per the order P1 will arrive first so it will get the CPU first and in non-preemptive once a job gets CPU it will not leave CPU till the process finishes, then as per the order P2 will come and same thing repeats.... so it acts like FCFS scheduling and priority is of no use here. But my lecturer says we have to follow the priority and P2 will come first, but the line the jobs arriving in the order listed is still not letting me agree with my lecturer. Can anyone help out?
What is cost optimal algorithm in parallel computing?
The cost optimal algorithm in parallel computing is the modular structured parallel algorithm that satisfy the insatiable demand of low power consumption, reduces speed and minimum silicon area.
What is meant by data abstraction An example that would be used in a program?
Data abstraction simply describes the difference between an object's concrete implementation and its abstract interface. Clients do not need to know how an object works in order to use it, they only need to know what it does. As a real world example, a user does not need to understand how electrical energy can be transformed into light energy, they only need to know that flicking a switch will turn the light on and off. That is, the switch provides the interface; everything the user needs to know in order to use the light. The implementation details are not important to the user.
In a computer program, we use data abstraction in order to simplify an object's physical representation, exposing only what we need to expose (no more and no less) through an abstract interface whilst keeping the actual implementation details safely tucked away.
As an example, a variable-length array requires at least three pieces of information: the start address of the array, the number of used elements in the array and the number of unused elements in the array. When the programmer wants to add a new element, they must first check to see if there are any unused elements. If not, the array must be reallocated with a new reserve. Then the programmer can add the new element, increment the used element count and decrement the unused element count. And they must do that every time they add a new element.
But these implementation details are not important to the programmer; they simply want to add a new element. The array itself should be responsible for the underlying implementation, not the programmer. And that's where data abstraction comes in. In object oriented programming we use vectors rather than variable length arrays. They both do exactly the same job equally efficiently, but vectors are much easier to work with. The programmer can concentrate on actually using the object rather than concerning themselves with the mundane, repetitive and error-prone activities related to the object's underlying memory management. Those implementation details are safely abstracted away behind the object's interface.
How can hackers protect people from exposing personal information?
I do not think you understand what a hacker is. They do not protect people.
Hackers are curious about and investigate the internal structure of computer programs and systems and how they work by studying the code. In doing so they also can discover loopholes and faults in programs that can be exploited for personal gain at the expense of computer users. Reporting such faults to the program developers often results in better programs and a safer computer experience for users.
Sometimes the developers feel that the found faults are not cost effective to repair. Hackers making the problems public forces them to publicly acknowledge the issue and hopefully fix them. At the least, making the public aware of such problems steers people away from using the defective programs.
Why won't Python open on Windows 8?
Next when you open a command prompt window after the computer restarts and type python you will have python running in the command prompt.
What is the primary characteristic of a key field as that it must be?
It must be at least regular as well as totally ordered. To be totally ordered, the key field must be of a type that provides all six comparison operations (<, <=, >, >=, == and !=). In some implementations, the less-than operator is all that is required for total order because all other comparison operations can be expressed in terms of this one operator alone:
a>b is the same as saying b<a
a>=b is the same as saying b<a AND NOT (a<b)
a<=b is the same as saying a<b AND NOT (b<a)
a==b is the same as saying NOT (a<b) AND NOT (b<a)
a!=b is the same as saying a<b OR b<a
What is Disadvantage of c programming?
Although C is a high-level language, the level of abstraction is extremely low to the extent that the onus of responsibility lies largely with the programmer rather than with the language. C++ now fulfils many of the roles previously filled by C.
A method that mimics evolution and natural selection to solve the problem.
An e-classroom is one that is offered virtually. Students don't have to go to a physical classroom to get their education.
What is Program controlled computer?
the computer is what runs the car and all the engine functions, you can change the functions of the engine to get more power by buying a performance programmer and downloading the program into the cars computer.
theres your answer :)
How can you improve mpg efficiency on 2001 F350 V10?
K&N air filter cold air intake kit free flowing Cat-back exhaust inflate tires to max pressure for low rolling resistance pretend there is a raw egg under the gas pedal when you take off from a light (that means go easy on the throttle)
How Can a derived class access an integer variable of base class in qt?
The best design strategy would be to provide a protected accessor (getter) that returns the variable either by value or by constant reference. If the derived class needs to mutate the variable, then provide a protected mutator (setter). Only derived classes have protected access to their base classes. However, derivatives can also lower that access to private with respect to their own derivatives, if desired.
Even if the variable does not represent a class invariant, it's still best to provide an interface rather than expose an implementation detail outside of the class, whether that exposure is public or protected. In this way the implementation detail may be changed at a future time without affecting any of the consumers of your class (including derivatives), since they will all be using the public or protected interface. So long as that interface remains unchanged, the scope of your internal changes is limited to the class itself, thus you won't break any code that uses your class.
If your class already provides a public interface to the variable, then your derived class can obviously make use of that as well. You only need a protected interface when no public interface is provided.
What is an active program on a computer?
An active program on a computer refers to a software application that is currently running and performing tasks or operations. It is actively utilizing the computer's resources such as CPU, memory, and storage to execute its intended functions. Examples of active programs can include web browsers, media players, word processors, or any other software that is actively processing data or providing user interaction.
How do you code to ask someone to be your valentine in either html or C plus plus?
I want to say to someone: Adam will you be my valentine? If yes then please tell me, if no then we'll just forget that I ever embarrassed myself like this. It needs to be in C ++ or html preferably, thanks
Why is code generation machine dependent?
In simplistic terms, code generation is dependent upon machines because it is a computer-based process. A computer is in fact a type of machine. Without the computer, a code can't be generated.
What numbers can be stored using 32-bit binary?
A 32 binary number is a number stored by a computer in 32 bits. it can represent:
1) An unsigned number in the range 0 to 4,294,967,295
2) A signed number in the range -2,147,483,648 to 2,147,483,647
3) A single precision IEEE floating point number with 1 sign bit, 8 exponent bits and 23 mantissa bits give an accuracy of about 7.2 decimal digits and a range of ± 10^-38 to 10^38
Displays a modal dialog box that contains a system icon, a set of buttons, and a brief application-specific message, such as status or error information. The message box returns an integer value that indicates which button the user clicked.
The difference between upload and download in Computer language?
upload: send a copy from source (yours) to another destination, usually a different machine
download: copy from another machine (or web site) to yours (pc, pda, etc)
Not all computer language have this abstraction, not even copy.