What type of program would have a class named Student with objects called fullTime and partTime?
A. machine language program
B. object-oriented program
C. markup language program
D. procedural language program
Answer:
B. object-oriented program
Explanation:
An object-oriented program or OOP is a type of program that uses the concepts of objects and methods.
Although they are quite broad, they also make use of classes and types.
Java, for instance makes use of OOP as they use classes and objects under those classes and name them anyhow they want.
Therefore, the correct answer is B
Answer:
C) Single-user, multi-tasking operating systems
Answer:
See Explaination
Explanation:
m=int(input("Please specify the number of elements in first list : "))
n=int(input("Please specify the number of elements in second list : "))
m1=1
list1=[]
n1=1
list2=[]
while m1<=m:
r1=int(input("input element {} of list1: ".format(m1)))
list1.append(r1)
m1+=1
while n1<=n:
list2.append(int(input("input element {} of list2: ".format(n1))))
n1+=1
def Intersection(list1,list2):
return set(list1).intersection(list2)
print("The intersection of two lists is {}".format(Intersection(list1,list2)))
When coal is burned it releases, 2: Carbon Dioxide.