Answer:
DDR
Explanation:
DDR is a feature of memory. It means a double data rate and is a more sophisticated version of the SDRAM, which is a memory. And the rest like the Multicore, 64-bit processing, and the L1 cache are the features of the CPU. And hence, the correct option here is none other than DDR. Remember that the L1 cache is the memory bank, which is being built over the CPU chip. And we have 32 bit and 64-bit processing for the CPU. As well as CPU can be dual-core, quad-core and likewise.
Answer:
Choose what you think based on this.
Explanation:
with a for loop:
>>> students = 3
>>> for student in range(students):
>>> print(student)
would output
>>> 0
>>> 1
>>> 2
with a while loop now:
>>> students = 3
>>> student = 0
>>> while student < students:
>>> student = student + 1
>>> print(student)
the for loop is more compact than the while loop. But there may be some times when a you cant do a for loop. The first question is more than likely definite but I don't know the second answer.
Answer:
a.
++score = score + 1
Explanation:
First you have to understand the increment operator;
There are three possible ways to increment the value of variable by 1.
1. <u>post increment</u>
syntax:
name++
it using in expression first then increase the value by 1.
2. <u>Pre increment</u><u> </u>
syntax:
++name
it increase the value by 1 before it using in expression.
3. simple method
name = name +1
In the question,
option 1: ++score = score + 1
it increase the value of score by 2 because their are two increment is used first for (score + 1) and second ++score.
Therefore, the correct option is a.