What skills are needed to be a computer engineer?
In order to become a computer programmer you have to chose a specified programming language java ,c++ or web languages like php , asp others like css HTML and javasript are side languages. then you have to be good in logic too and lots of practice obviously that's it three four lines but lots of years and study.
What is the difference between object code and machine language?
The whole notion of "virtual" has become rather stretched in recent years, but the traditional distinction was that machinecode executes directly on the hardware, whilst bytecode is executed by a software emulator of a fully specified mythical machine. Bytecode is important to the UCSD Pascal p-system, to Forth, to SmallTalk, and more recently to Java. Of course, one could certainly build hardware which properly executes any of those bytecodes, and some folks have done just that.
What is the relationship between a program and an algorithm?
program is set of instructions or codes that system can only understand and compile where as algorithm is step by step process that system understands easily and user can also understand easily.
What are the disadvantages of fifth generation of language?
The major disadvantage of fifth generation programming languages is that these languages won't be as good as sixth generation languages.
It is also important to note that classification of programming languages in generations beyond the second generation is complete nonsense and nothing but a marketing hype; programming languages don't evolve in a linear succession, or one in the shape of a balanced tree, where each generation has common attributes and improvements over the previous generation.
What is a java constructor and write a program?
Constructors have the same name as the class itself and they do not specify a return type, not even void because they return the instance of the class itself.
Because constructors have the same name as the class then they allow method overloading and also save memory and execution time of program.
Program release memory of constructors function after using this function and it reduce program complexity.
Which programming language is the oldest basic c cobol fortran?
The Fortran and COBOL programming languages have both been around for a long time. Fortran was released around 1957, while COBOL followed a couple years later. Fortran has historically been mostly used for numerical and scientific calculations, while COBOL is primarily used by businesses.
Difference of c plus plus and fox pro?
C++ is a generic, general purpose, object-oriented, structured programming language used to produce native machine code programs. FoxPro is a procedural language and Database Management System (DBMS).
How do you separating nibbles in 8085 assembly language?
A nibble (half-byte) is transferred in the 8085 by reading the destination, masking the alternate nibble, adding the nibble, and storing the result. For example, to store the low order nibble at location 1000H to the byte at location 1001H, you could use...
LDA 1001H
XRI 0F0H
STA 1001H
LXI H,1001H
LDA 1000H
XRI 0FH
ADD M
What are the characteristic features of the procedural programming languages?
- Easy location of errors in the program
- Easy understanding of the program code
- Execution of the pogram is faster
- The program becomes neat (commenting the program codes)
Jimmy C. Malusi (jimmy20clinton@live.com)
What is the purpose of an array?
An array is a sequence of logically related data items. It is a kind of row mad of boxes with each box holding a value . Each box can be accessed by , first box , second box, third box, so on. till the nth
box.
( submit by keshaw kumar Bokaro Niit)
What is the language of compiler of c plus plus?
C++ is a general purpose, cross platform, object-oriented programming language that compiles to native machine code. Although it supports OOP, it does not rely on it. You can mix C++ code with C-style code and even Assembly Language routines.
How do you reverse a string in assembly language?
program:
assume cs:code,ds:data
code segment
mov ax,data
mov ds,ax
mov cl,count
mov si,offset str1
mov di,0003h
back:mov al,[si]
xchg [di],al
mov [si],al
inc si
dec di
dec cl
jnz back
hlt
code ends
data segment
str1 db 01h,02h,03h,04h
count equ 02h
data ends
end
result:
input: str1 (ds:0000h) = 01h,02h,03h,04h
output: str1 (ds:0000h) = 04h,03h,02h,01h
How do you make a window full screen?
Well, if we're talking about Windows you should make the window as big as the display resolution, and use ITaskbarList2::MarkFullscreenWindow to make sure the taskbar has lower z-order than your window.
What are the applications of Differential equations in the field of computer programming?
There are several applications of differential equations...
To begin with, there is the typical distance with respect to time (e.g. finding the rate of change between two cars after four hours if they start at a point and move in a 90 degree angle from each other). The differential equation is also used in physics with Newton's Second Law of Motion and the Law of Cooling. It can also be used in Hooke's Law for modeling the motion of a spring or in representing models for population growth and money flow/circulation. There are many other applications and there are many equations out there that can be used to set up and solve day-to-day problems.
Experience: Calculus 2 student
How c plus plus is a procedure based language?
C is both.
The characteristics of a procedural oriented language: assignment operators (:= in C)
The characteristics of a structured programming language: block of codes ({} in C) for if-else, while-, for- loops, subroutines, etc.
True
How do you program a astrostart j5f tx2000?
Strugari
Get under the dash to the unit.
You will see 8 or 9 dip switches on the unit with an LED beside them.
Turn switch 1 and 8 on.
Press and release the brake. (LED will flash)
Press and hold start button on remote. (LED will flash and parklights will flash once.
Turn switch 1 and 8 to off.
Press and release the brake (LED will flash once)
Try your new remote!
MD5 (like SHA-1 or CRC32) is a common message-digest algorithm for data integrity. MD5 is widely used as a cryptographic hash function producing a 128-bit (16-byte) hash value or checksum, typically expressed in text format as a 32 digit hexadecimal number (e.g. 90506d869e65e896d5a8474b00097610).
This essentially is a way to digitally sign a block of text or media to prevent tampering or modification. A receiver can calculate the md5 hash value independently to verify the contents match the expected hash value. If a different hash value is computed then the content has been changed from the original.
The newer SHA-1, SHA-256, and SHA-512 algorithms respectively generate a 160-bit, 256-bit, and 512-bit hash value for greater security.
What is static and dynamic data structure?
In dyanamic data structure emory allocation for the data structure takes place at run time,only requered amount of memory is allocated(eg.linked lists).In static data structure memory is reseved at the time of compilation(eg.arrays).
Differentiate between interpreter and complier?
Compiler compiles code into binary program, which is then ran by operating system or a virtual machine(Java or C#)
Interpreter steps trough code, doing instructions one after another, without any compilation or optimization.
C program for gcd of two numbers using functions?
#define SIZE 100
#include <stdio.h>
int hcf_function(int,int);
int lcm_function(int,int);
int main()
{
int array[SIZE],n,i,choice,LCM,hcf;
printf("Enter No of Elements\n");
scanf("%d",&n);
printf("Enter Elements\n");
for(i=0;i<n;i++)
scanf("%d",&array[i]);
do
{
printf("\n\nEnter Choice\n\n1.HCF\n2.LCM\n3.Exit\n");
scanf("%d",&choice);
switch(choice)
{
case 1: hcf=array[0];
for(i=1;i<n;i++)
hcf=hcf_function(hcf,array[i]);
printf("\nHCF = %d",hcf);
break;
case 2: LCM=array[0];
for(i=1;i<n;i++)
LCM=lcm_function(LCM,array[i]);
printf("\nLCM = %d",LCM);
break;
case 3: break;
default:printf("Wrong Choice");
break;
}
}while(choice!=3);
}
/***************************************************************
Function Name : hcf_function
Purpose : to find hcf
Input : two numbers
Return Value : hcf
Return Type : int
****************************************************************/
int hcf_function(int m,int n)
{
int temp,reminder;
if(m<n)
{
temp=m;
m=n;
n=temp;
}
while(1)
{
reminder=m%n;
if(reminder==0)
return n;
else
m=n;
n=reminder;
}
}
/***************************************************************
Function Name : lcm_function
Purpose : to find LCM
Input : two numbers
Return Value : LCM
Return Type : int
****************************************************************/
int lcm_function(int m,int n)
{
int LCM;
LCM=m*n/hcf_function(m,n);
return LCM;
}
What are examples of programming languages?
C, C++ and java are a couple. There are still many other programming language.
What is Difference between class and object of a class?
A class is an abstract idea. It's that "thing" you wrote the source code for.
An object is an instance of a class.
Example:
// Integer is the class; i is the instance of class Integer
Integer i;
What is parameter constructor?
C++ permits us to achieve this objects bt passing argument to the constructor function when the object are created . The constructor that can take arguments are called parametrized constructors
Example:-
class abc
{
int m,n;
public:
abc(int x,int y); //paramererise constructor
................
.................
};
abc::abc(int x,int y)
{
m=x;n=y;
}