answersLogoWhite

0

📱

Computer Programming

A category for questions about computer programming and programming languages.

10,506 Questions

What is the difference between context switch and process switch?

when ever an interrupt occurs, it saves the context of the program being executed & sets the PC to the starting address of the interrupt handling program. now after servicing the interrupt if the same process is resumed which was being interrupted then we will say a context switch has occurred.

But imagine after servicing the interrupt if a new process is to be executed then some more work is required, that is it has to save some more information from the PCB to keep reference to resume its execution and we say process switch has occurred..!!

How do you explain the Tags BR and HR?

br is a line break, hr is a horizontal rule.


br adds vertical spacing between elements on a page, much like the spacing between to paragraphs of text.


hr adds a horizontal line.


example:

before hr

after hr

What is logical shift?

A logical shift moves bits left or right. After a left shift, the high-order bit is lost while a zero is inserted in the low-order bit. After a right-shift, the low-order bit is lost and a zero inserted in the high-order bit. The left (<<) and right (>>) shift operators are binary operators; the first operand is the value being shifted, the second operand is the number of bit positions to shift. Thus x << y will left shifts all the bits of x by y bit positions.

What are conditions for full circular queues?

There are 2 conditions for queue full if queue is implemented using arrays. First condition is Front = 1 and Rear = N Second condition is Front = Rear + 1

What is incomplete binary tree?

Incomplete Binary Tree is a type of binary tree where we do not apply the following formula:

1. The Maximum number of nodes in a level is 2

Is HTML a progarming language or is it just a web designing program?

HTML is not a programming language in true sense.

Though you can:

write codes using HTML tags,

use other scripting languages,etc

to design a web page

How you know about level of DFD?

The simples form of DFDs are Conntext Level Diagrams. They only show mian processes, related entities and data flow. Then it comes level o diagrams which are more detailed for a single process. Finally it comes detailed diagrams for the entire systems and their links

How do you use the gm decompiler?

You'll need a brain first. Sadly, they're hard to source.

How do you print my name in c program in vertical manner using arrays?

you need strings to print any character(your name)

this is not possible useing array:D

What is a receiver-oriented message?

it is a type of case when it is the recievers responsibility in case of a miscommunication

Whereis your buddy list on aim?

To find your buddy list on aim, you will need to first log onto AOL. Select the â??Membersâ?? menu and select â??Buddy Listâ??. The â??Buddy Listsâ?? dialog box will appear.,

How do you use byte in a sentence?

A byte is a single unit of digital information, made of of several bits of sequenced binary data.

What are the disadvantages of low level language?

There are several disadvantages in low level programming languages

  1. It is very difficult to learn the language.
  2. It is very difficult to program in low level language.
  3. It is difficult to understand the pre-existing program if it is written in low level language.
  4. It is difficult to modify the program.
  5. It is difficult to debug the programs.
  6. It is difficult to fix the errors in the program.
  7. It is difficult to find and fix the semantic errors.

What is the similarities of High Level Language and machine language?

Nothing. Example:

machine code: 05 CA DE 12 15 47 A8

High level language: PRINT "Hello, World"