Answer the following questions true (T) or false (F)
1. A C-string variable is an array, so it can be indexed to access individual character positions (indexed variables of type character).
2. A C-string is a sequence of characters terminated by the null character.
1. True
2. True
Explanation: A C-string variable must always be longer than the C-string contained in the variable by one character positions to accommodate the null terminator.
You might also like to view...
On a computer with two or more CPUs, _____ is a technique in which each processor or core works on a different job.
A. ?parallel processing B. ?looped hosting C. ?multiprocessing D. ?file hosting
Data integrity is important because computers and people use information to make decisions and take actions.
Answer the following statement true (T) or false (F)
Gwen recently purchased a new video card, and after she installed it, she realized she did not have the correct connections and was not able to power the video card. ? What connector(s) should Gwen look for when purchasing a new power supply? (Select all that apply.)
A. 8-pin PCI-E connector B. Molex connector C. 24 pin connector D. SATA connector E. P4 MB connector F. 6-pin PCI-E connector
Which one of the following best describes a polymorphic virus?
a. A virus that changes its form each time it is executed b. A virus inserted into a Microsoft Office document such as Word or Excel c. A virus that infects EXE files d. A virus that attacks the boot sector and then attacks the system files