To screw with your teacher:
first = (name1 > name2 ) ? name1 : name2;
That code is correct, but your teacher is probably looking for:
if( name1 > name2 )
first = name1;
else
first = name2;
I love the ternary operator!
Answer:
a) Semiconductor Memory
Explanation:
A primary storage device is a medium that holds memory for short periods of time while a computer is running
Semiconductor devices are preferred as primary memory.
ROM, PROM, EPROM, EEPROM, SRAM, DRAM are semiconductor (primary) memories.
It will go down then it will start working
Answer:
01000011 01000001 01000010
Explanation:
You can convert to and from binary and the base-10 system typically used by humans. You can also convert to and from binary and hexadecimal where you need four digits of binary to represent one digit of hex. Converting to and from binary and octal is another possibility. It takes three binary digits to represent an octal digit. Binary 000 is octal digit 0.
Answer:
The NVIDIA GTX 2030 Ti
Explanation:
The AMD Ryzen 5 is good for a starting gaming PC, but if you are looking for a gaming PC that could run a lot more games, use the NVIDIA GTX 2080 Ti.