Answer:
The answer to this question is 16 bytes.
Explanation:
8x16 font means it contains 16 rows by 8 columns of 1-bit pixel ( picture element ).
rows=16.
columns=8.
8 bit = 1 byte.
8x1 = 1 byte.
8x16 = 16 bytes.
So 8x16 font size requires 16 bytes of data to store a character.Hence we conclude that the answer is 16 bytes.
Answer:
if 3 + 3 == 6:
print("Hey 3 and 3 is 6")
if 5 + 3 == 8:
print("You are not going to catch me")
if 5 + 6 == 10:
print("****nag*****")
else:
print("You thought like 5 + 6 = 11 ")
if 6 + 6 == 12:
print("Great! This one is correct")
if 5 + 7 == 12:
print("Great, this is correct as well")
if 3 + 3 == 4 and 5 + 5 == 10:
print("Great! Congrats")
Explanation:
Please check the answer, and practice if else and various other ladders as much as you can.
Answer:
Option (d) is correct.
Explanation:
In java language "ar.length" is used to tells the size of the array. The array is used to declare more than one variable. Its index value is started from 0. so when a user needs to initialize the value of an array, they need to start the index value at 0. because ar[0] indicates the first variable of an array.
In option (d), index value is started from 0 and ends with (array_size-1). so it gives the accessed to all the variable of an array and the statement "ar[i]=4;", initialize the value 4 to all array variable.
while another option is not valid because--
- In option a, Index value starts from 1 which accesses the second variable of an array.
- In option b, the statement "i<= ar.length;", gives an unbound array exception because it took the size greater than the array size.
- In option c, statement "i<ar.length-1;", can not give accessed to the last element of an array.