Answer:
128 GB 
Explanation:
Here, we are interested in calculating the total capacity of the disk.
From the question, we can identify the following;
Number of surfaces = 4
Tracks per surface = 131,072
Number of sectors = 2,048
Each Block size = 512 bytes 
Mathematically;
Total data capacity of the disk = no of tracks * no of sectors * block size
= 131,072 * 2048 * 512 bytes 
= 2^17 * 2^11 * 2^9 bytes = 2^37 bytes 
1 GB = 2^30 bytes 
So 2^37 = 2^7 * 2^30
= 128 GB
 
        
             
        
        
        
Answer:
The statements which are true are;
-  A user-defined data type can include other user-defined data types
- A user-defined data type is defined using a class
- A user-defined data type can include a list
Explanation:
A user-defined data type (UDT) is a datatype that is defined and derived by the use of the datatypes which preexist including existing user-defined datatypes and the built-in datatypes
It is therefore true that a user-defined data type can include other user-defined data types
 
A class is a user-defined data type that contains both its member data and member functions, that can be used when an instance of the class is first created
Therefore, a user-defined data type is defined using a class
In a user-defined data type, a variable has actual data within it which can include an array or list
Therefore a user-defined data type can include a list.
 
        
                    
             
        
        
        
If a robot is able to change its own trajectory as per the external conditions, then the robot is considered the intelligent option (A) is correct.
<h3>What is AI?</h3>
Unlike the natural intelligence exhibited by animals, including humans, artificial intelligence is a form of intelligence demonstrated by robots.
The question is incomplete.
The complete question is:
If a robot can alter its own trajectory in response to external conditions, it is considered to be:
A. intelligent
B. mobile
C. open loop
D. non-servo
E. None of the above
Robots are regarded as intelligent if they can alter their own course in response to environmental factors. These kinds of agents fall into the AI agent or Rational Agent group.
Thus, if a robot is able to change its own trajectory as per the external conditions, then the robot is considered the intelligent option (A) is correct.
Learn more about AI here:
brainly.com/question/27839745
#SPJ4
 
        
             
        
        
        
Answer:
#here is code in python.
# read the food bill
tot_bill=float(input("Please enter the food bill:"))
# tax on food
tax=0.06
#choice for tip by user
choice=int(input("enter your choice for tip:(1 for 15%, 2 for 18% and 3 for 20% :)"))
// calculate the total food bill
if choice==1:
    tot_food_bill=tot_bill+tot_bill*tax+tot_bill*(.15)
elif choice==2:
    tot_food_bill=tot_bill+tot_bill*tax+tot_bill*(.18)
elif choice==3:
    tot_food_bill=tot_bill+tot_bill*tax+tot_bill*(.2)
else:
    print("invalid choice:")
#print the total food bill 
print("total food bill is ",tot_food_bill)    
Explanation:
Read the food bill from user and assign it to variable "tot_bill".Initialize the tax=0.06 (i.e. 6%) on the bill.Then ask user to give his choice for tip. if the choice is 1 then tip will be 15%, if 2 then 18% and if choice is 3 Then tip will be 20% of the bill.Calculate the total food bill and assign it to variable "tot_food_bill".
Output:
Please enter the food bill:100                                                                                                                                
enter your choice for tip:(1 for 15%, 2 for 18% and 3 for 20% :)2                                                                                             
total food bill is  124.0