Computers and Technology, 12.11.2019 07:31 anyar
What is the output of the following code snippet? int f1 = 0; int f2 = 1; int fres; system. out. print(f1 + " "); system. out. print(f2 + " "); for (int i = 1; i < 10; i++) { fres = f1 + f2; system. out. print(fres + " "); f1 = f2; f2 = fres; }system. out. println(); select one: a. 0 1 5 7 9 11 13 15 17 19b. 0 1 1 2 3 5 8 13 21 34c. 0 1 4 6 8 10 12 14 16 18d. 0 1 6 7 9 12 14 17 19 21
Answers: 2
Computers and Technology, 23.06.2019 01:30, bri2728
Jason works as an accountant in a department store. he needs to keep a daily record of all the invoices issued by the store. which file naming convention would him the most? a)give the file a unique name b)name the file in yymmdd format c)use descriptive name while naming the files d)use capital letters while naming the file
Answers: 3
Computers and Technology, 23.06.2019 17:30, Annlee23
When making changes to optimize part of a processor, it is often the case that speeding up one type of instruction comes at the cost of slowing down something else. for example, if we put in a complicated fast floating-point unit, that takes space, and something might have to be moved farther away from the middle to accommodate it, adding an extra cycle in delay to reach that unit. the basic amdahl's law equation does not take into account this trade-off. a. if the new fast floating-point unit speeds up floating-point operations by, on average, 2ă—, and floating-point operations take 20% of the original program's execution time, what is the overall speedup (ignoring the penalty to any other instructions)? b. now assume that speeding up the floating-point unit slowed down data cache accesses, resulting in a 1.5ă— slowdown (or 2/3 speedup). data cache accesses consume 10% of the execution time. what is the overall speedup now? c. after implementing the new floating-point operations, what percentage of execution time is spent on floating-point operations? what percentage is spent on data cache accesses?
Answers: 2
Computers and Technology, 24.06.2019 00:10, roxymiller3942
Read each statement below. if the statement describes a peer-to-peer network, put a p next to it. if the statement describes a server-based network, put an s next to it. p - peer-to-peer s - server-based
Answers: 1
What is the output of the following code snippet? int f1 = 0; int f2 = 1; int fres; system. out. pri...
History, 15.10.2019 15:30
History, 15.10.2019 15:30
Biology, 15.10.2019 15:30
Physics, 15.10.2019 15:30
History, 15.10.2019 15:30