The Appalachian Mountains
<span>Knowledge of html and css is considered essential for the job of a web-designer. Html and css are useful if you want to build an informational web-site or landing page. Html is used for page structure and basic style. Css used for advanced styles, it helps you to make your web-site look prettier. If you want to make the advanced functions on your web-site, you should use javascript or php.</span>
Answer:
3e : 00111110 (62)
3e0 : 0000001111100000 (992)
3e00 : 0011111000000000 (15872)
Explanation:
Converting the given hexadecimal numbers to binary and decimal format:
1) 3e
3-> 0011
e-> 1110
Combining , 3e -> 00111110
This can be converted to decimal by multiplying each 1 in the binary representation by 2^(position -1) and adding the results.
So 3e = 32+16+8+4+2 = 62
2) 3e0
Binary => 0000001111100000
Converting to decimal : 992 [ This is 16 times a]
3) 3e00
Binary => 0011111000000000
Converting to decimal : 15872 [ This is 16 times b]
So adding a 0 to the hex representation multiplies the decimal number by 16.
Answer: C
Explanation:
obviously cellphones work digitally and do not produce actual film, nor is it likely it will be converted to film from digital (whats the point?)
Answer:
def leap_year(y):
if y % 4 == 0:
return 1
else:
return 0
def number_of_days(m,y):
if m == 2:
return 28 + leap_year(y)
elif m == 1 or m == 3 or m == 5 or m == 7 or m == 8 or m ==10 or m == 12:
return 31
elif m == 4 or m == 6 or m == 9 or m == 11:
return 30
def days(m,d):
if m == 1:
return 0 + d
if m == 2:
return 31 + d
if m == 3:
return 59 + d
if m == 4:
return 90 + d
if m == 5:
return 120 + d
if m == 6:
return 151 + d
if m == 7:
return 181 + d
if m == 8:
return 212 + d
if m == 9:
return 243 + d
if m == 10:
return 273 + d
if m == 11:
return 304 + d
if m == 12:
return 334 + d
def days_left(d,m,y):
if days(m,d) <= 60:
return 365 - days(m,d) + leap_year(y)
else:
return 365 - days(m,d)
print("Please enter a date")
day=int(input("Day: "))
month=int(input("Month: "))
year=int(input("Year: "))
choice=int(input("Menu:\n1) Calculate the number of days in the given month.\n2) Calculate the number of days left in the given year.\n"))
if choice == 1:
print(number_of_days(month, year))
if choice == 2:
print(days_left(day,month,year))
Explanation:
Hoped this helped