What is the purpose of literals in assembly language?
literals are used to store constant values which are not changed even after program execution
Write a program to add two 8 bit numbers in C language?
char x,y,z;
x=100;
y=200;
z=x+y; /* overflow */
x=100;
y=100;
z=x+y; /* overflow if signed, okay if unsigned */
x=100;
y=20;
z=x+y; /* okay */
What is the output displayed by the following program when the data entered are 5 and 7?
Impossible to say without seeing the program's source.
What is the purpose of algorithm?
It is a set of rules or a procedure for carrying out certain calculations.
How do you figure diameter of circle using circumference?
Divide the circumference by pi, and that will give you the diameter.
What is the difference between Traditional Media and New user driven media?
Traditional media is a media in which electronics equipment has not to be used by audience, in electronics media they require such instruments like radio, tv, computer etc to get the information.
What are the difference between a compiler design and a compiler?
In Compiler there is no design word ,whereas in compiler design there is design word
What is machine language instructions 8b00ac?
It depends on the processor. In the 8086/8088, it means
MOV AX,[BX+SI]
LODSB
In the 8085 it means
ADC E
NOP
XRA H
Neither snippet makes any sense, so it must be from some other processor.
Absolutely. Just as it is impossible to write irrational fractions such as 1/3 in decimal form other than by approximation (such as 0.33 or 0.3333), binary notation has the same problem. When working with floating point values, there's always the chance we'll introduce tiny errors through rounding. We can allocate more memory to improve accuracy, but we must impose limits because memory is a finite resource. Thus all floating point values are an approximation.
Can local variables be passed between subroutines?
If this is a homework assignment, please consider trying it yourself first, otherwise the value of the reinforcement to the lesson offered by the homework will be lost on you.
Since C and C++ pass parameters by value, local variables can be passed between functions (subroutines).
If you intend to pass them by reference, i.e. by passing their address, you must ensure that they do not go out of scope while the called function runs, otherwise the called function might reference memory that is no longer valid.
What is an example of a program offered by SkillsUSA?
One such program is the Professional Development Program, which teaches eighty-four workplace competencies using a hands-on approach through self-paced lessons. Another program is the Student2Student Mentoring
What applications are installed into programming computers?
There are a lot of applications that can be installed in order to program.
It depends on your knowledge and training ability.
Some of the most famous programming languages are:
- C++
- VB\C#.NET
- C
- Delphi
- ...
What is putch in C programming?
It puts a character out on the stdout file, usually the screen but stdout can be redirected. An example of stdout redirection is a web server, the stdout of a cgi program issent via the network to the client computer and not the servers monitor.
How do you instantiate a complex number?
The following are the different ways to assign a value to a complex number:
By passing two Double values to its constructor. The first value represents the real, and the second value represents imaginary part of a complex number.
For example,
Complex c1 = new Complex(5, 8); /* It represents (5, 8) */Why are some variables capitalized?
Unless a language has strict rules regarding naming conventions, how we name our variables is really a matter of personal style. In C and C++ we generally prefer all lowercase with underscores separating each word as this helps readability and retains consistency with standard library conventions. Using a leading capital typically denotes something of importance, but is usually applied to a user-defined type rather than to a variable. Uppercase names are generally avoided because macros are conventionally named using all uppercase so they stand out. Other languages have other conventions, but a leading capital typically has no real meaning unless it is dictated by some language rule.
Why do we need so many programming languages?
No one language is perfect, so we have had to create many programming languages for specific purposes.
How do you convert uppper case character to lower case in easytrieve?
There are a couple of different ways to convert upper case characters to lower case in easytrieve. One is to use the INSPECT/CONVERTING command.
Does Mac keyboards operate with windows?
Yes, if the PC connects to the mouse via USB or Bluetooth. Some functions may not behave properly or at all. It depends on which drivers are in the Windows System.
What is KB in computer language?
KB = kilobyte = 1024 bytes, whare a byte is one number between 0 and 255 (2^8). its a unit of measurement of information contained within a given file.
#!/bin/sh
mkdir homework lazyass
for i in $(seq 5); do touch homework/file-$i; done
mv homework/* lazyass