public class MyClass {
public static void printChar(char ch1, char ch2, int numberPerLine){
int i = 0;
for (char c = ch1; c <= ch2; c++){
while (i < numberPerLine){
System.out.print(c + " ");
i += 1;
}
System.out.println("");
i = 0;
}
}
public static void main(String args[]) {
printChar('a', 'z', 10);
}
}
So far, this works by printing letters. If you need me to modify the code, I will.
Yes but you will need more than one battery
Answer:
Total Memory= 4 KB = 4096 bytes = 32768 bits
Explanation:
<em><u>1. Data lines are 8 From D0 to D7</u></em>
so
Total memory at single address locations is 8 bits.
<em><u>2. Address lines are 12 (A0 to A11)</u></em>
There are 12 address lines but 3 out 12 are for selction of chip or memory bank.
so only 9 pins are there to address the locations on one chip.
Total No. of address locations on single chip = 2^9 = 512 locations
as 1 location is 1 byte so total memory of single chip is 512 bytes.
<u><em>3. Total Memory Bank </em></u>
There are total 3 selection pins for memory bank.
so
Total chips = 2^3 = 8.
<em><u>4. Total Memory </u></em>
Total size of 1 chip = 512 bytes
Total size of 8 chip = 8x512 bytes = 4096 bytes = 4096/1024 kb = 4 kb
<em>So total memory of system is 4 Kb = 4096 bytes = 32768 bits</em>
Answer:
B,C,E your welcome
Explanation: i just took the test