Answer:
Required memory size is 16k x 8
16k = 24 x 210 = 214
Hence, No. of address lines = 14
No. of data lines = 8
a) Size of IC 1024 x 1
Total number of ICs required = 16k x 8 / 1024 x 1 = 16 x 8 = 128
b) Size of IC 2k x 4
Total number of ICs required = 16k x 8 / 2k x 4 = 8 x 2 = 16
c) Size of IC 1k x 8
Total number of ICs required = 16k x 8 / 1k x 8 = 16 x 1 = 16
Explanation:
For a, 10 address lines from A0 to A9 are used to select any one of the memory location out of 1024 memory locations present in a IC.
For b, 11 address lines from A0 to A10 are used to select any one of the memory location out of 2k=2048 memory locations present in a IC.
For c, 10 address lines from A0 to A9 are used to select any one of the memory location out of 1k=1024 memory locations present in a IC.
Answer:
Its false ita not "output" its "input"
Answer:
Glue Language
Explanation:
I'm not 100% sure, but here is the definition.
Glue language- A programming language that can be used to provide interoperability between systems not originally intended to work together
Answer:
Explanation:
The following is a python function that has arrays with all the cards available and then uses random to choose a random card from the dictionary. Finally it prints out the card chosen...
import random
def choose_card():
card = ["Ace", 2, 3, 4, 5, 6, 7, 8, 9, 10, 'Jack', 'Queen', 'King']
symbols = ['Clubs', 'Diamonds', 'Hearts', 'Spades']
chosen_card = str(card[random.randint(0, len(card))])
symbols = symbols[random.randint(0, len(symbols))]
print("Chosen Card: " + chosen_card + " of " + symbols)
Answer:
The code is mentioned below.
Explanation:
This code is written in C.
Assuming that an array of 6 by 8 is already initialized and stored in a vector
![x[6][8]](https://tex.z-dn.net/?f=%20x%5B6%5D%5B8%5D%20)
which will be called or referred in program by:
![x [i] [j]](https://tex.z-dn.net/?f=%20x%20%5Bi%5D%20%5Bj%5D%20)
Alongwith the array the variables i j and max will be initialized as integers.
CODE:
int i,j,max;
max=0;
for(i=0;i<6;i++)
{
for(j=0;j<6;j++)
{
if(max>x[i][j])
max = x[i][j];
}
}
This code will check each and every entry of 6 by 8 array and place the largest value in max.