Question 41
            
                    
                    The following class hierarchy is given. What is the expected out of the code?
                        
                         
                        
                        
                        
                        
                            
                                A. BB 
                            
                            
                        
                        
                        
                            
                                B. CC 
                            
                            
                        
                        
                        
                            
                                C. AA 
                            
                            
                        
                        
                        
                            
                                D. BC 
                            
                            
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                 
             
     
     
     
     
     
            
            Question 42
            
                    
                    
Python's built in function named open () tries to open a file and returns:
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                            
                                A. an integer value identifying an opened file 
                            
                            
                        
                        
                        
                            
                                B. an error code (0 means success) 
                            
                            
                        
                        
                        
                            
                                C. a stream object 
                            
                            
                        
                        
                        
                            
                                D. always None 
                            
                            
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                
             
     
     
     
     
     
            
            Question 43
            
                    
                    
Which of the following words can be used as a variable name? (Choose two.)
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                            
                                A. for 
                            
                            
                        
                        
                        
                            
                                B. True 
                            
                            
                        
                        
                        
                            
                                C. true 
                            
                            
                        
                        
                        
                            
                                D. For 
                            
                            
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                
             
     
     
     
     
     
            
            Question 44
            
                    
                    
Python strings can be `glued` together using the operator:
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                            
                                A. . 
                            
                            
                        
                        
                        
                            
                                B. & 
                            
                            
                        
                        
                        
                            
                                C. _ 
                            
                            
                        
                        
                        
                            
                                D. + 
                            
                            
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                
             
     
     
     
     
     
            
            Question 45
            
                    
                    
A keyword (Choose two.)
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                            
                                A. can be used as an identifier 
                            
                            
                        
                        
                        
                            
                                B. is defined by Python's lexis 
                            
                            
                        
                        
                        
                            
                                C. is also known as a reserved word 
                            
                            
                        
                        
                        
                            
                                D. cannot be used in the user's code 
                            
                            
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                
             
     
     
     
     
	
     
     
            
            Question 46
            
                    
                    How many stars (*) does the snippet print?
                        
                         
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                            
                                A. the code is erroneous  
                            
                            
                        
                        
                        
                            
                                B. five 
                            
                            
                        
                        
                        
                            
                                C. four 
                            
                            
                        
                        
                        
                            
                                D. two 
                            
                            
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                 
             
     
     
     
     
     
            
            Question 47
            
                    
                    Which line can be used instead of the comment to cause the snippet to produce the following expected output? (Choose two.)
Expected output:
1 2 3
Code:
                        
                         
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                            
                                A. c, b, a = b, a, c 
                            
                            
                        
                        
                        
                            
                                B. c, b, a = a, c, b 
                            
                            
                        
                        
                        
                            
                                C. a, b, c = c, a, b 
                            
                            
                        
                        
                        
                            
                                D. a, b, c = a, b, c 
                            
                            
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                 
             
     
     
     
     
     
            
            Question 48
            
                    
                    
Assuming that the V variable holds an integer value to 2, which of the following operators should be used instead of OPER to make the expression equal to 1?
V OPER 1 -
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                            
                                A. <<< 
                            
                            
                        
                        
                        
                            
                                B. >>> 
                            
                            
                        
                        
                        
                            
                                C. >> 
                            
                            
                        
                        
                        
                            
                                D. << 
                            
                            
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                
             
     
     
     
     
     
            
            Question 49
            
                    
                    How many stars (*) does the following snippet print?
                        
                         
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                            
                                A. the code is erroneous 
                            
                            
                        
                        
                        
                            
                                B. five 
                            
                            
                        
                        
                        
                            
                                C. three 
                            
                            
                        
                        
                        
                            
                                D. four 
                            
                            
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                 
             
     
     
     
     
     
            
            Question 50
            
                    
                    
UNICODE is:
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                        
                            
                                A. the name of an operating system 
                            
                            
                        
                        
                        
                            
                                B. a standard for encoding and handling texts 
                            
                            
                        
                        
                        
                            
                                C. the name of a programming language 
                            
                            
                        
                        
                        
                            
                                D. the name of a text processor