Answer:
Explanation:
The study of the properties of solid materials and how those properties are determined by a material’s composition and structure is material science.
Answer:
Motherboard
Explanation:
Motherboard is the main component of a computer. It connects with other parts of the computer including drive disks, RAM and CPU and any other expansion slots :)
(Hope it helped)
Answer:
Spyware
Explanation:
Internet is a type of computer network that allow device communicate with each other world wide. So, it is not the correct option.
Worm: this is a standalone malware computer program that replicates itself in order to spread to other computers. It spreads copies of itself from computer to computer. A worm can replicate itself without any human interaction, and it does not need to attach itself to a software program in order to cause damage. The major feature of a worm is ability to replicate on it own. So, it is not the correct option.
Bot: this is a software application that runs automated tasks. So, it is not the correct option.
Middleware: this is software that lies between an operating system and the applications running on it, enabling communication and data management. It provides services to software applications beyond those available from the operating system. So, it is not the correct option.
Spyware: this is the correct answer. Spyware is similar to trojan horse because it hides itself in a system and a user may not know that it exist on the system. Spyware is a form of malware that hides on your device, monitors your activity, and steals sensitive information without knowledge of the user.
Answer:
the "=" sign is used to assign value to a variable. Example:
int number = 25;
You are basically assigning the value '25' to a variable of type 'integer' called 'number'.
Explanation:
Answer:
#include <stdio.h>
int hexToDec(const int hexNum[]){
int result = 0, prod = 1;
for(int i = 3;i>=0;i-=1){
result += (prod*hexNum[i]);
prod = prod * 16;
}
return result;
}
int main()
{
int hexNum[4], i;
char s[5], ch;
printf("Enter hexa decimal value: ");
scanf("%s",s);
for(i = 0;i<4;i++){
ch = s[i];
if(ch>='0' && ch<='9'){
hexNum[i] = ch-'0';
}
else if((ch>='a' && ch<='f') || (ch>='A' && ch<='F')){
if(ch=='A' || ch=='a'){
hexNum[i] = 10;
}
else if(ch=='B' || ch=='b'){
hexNum[i] = 11;
}
else if(ch=='C' || ch=='c'){
hexNum[i] = 12;
}
else if(ch=='D' || ch=='d'){
hexNum[i] = 13;
}
else if(ch=='E' || ch=='e'){
hexNum[i] = 14;
}
else{
hexNum[i] = 15;
}
}
}
printf("%d",hexToDec(hexNum));
return 0;
}
Explanation: