- 
        
                Objective
            
            
            
        
        
- 
        
                Module 1 - Introduction to Python and computer programming
            
            
            
        
        
- 
                    
                    - Rejoindre ce cours pour accéder aux ressources
 
 
- 
        
                Module 2 - Data types, variables, basic input-output operations, basic operators
            
            
            
        
        
- 
                    
                    - Rejoindre ce cours pour accéder aux ressources
- Quiz
 
 
- 
        
                Module 3- Control statement
            
            
            
        
        
Module 2 Quiz
                    Évaluation
                    
                        
                
            
                            
                                
                                0
                            
                            
                                
                                0
                            
                        
                    Il n'y a aucune réaction pour le moment.
    Rejoindre ce cours
                            
                            pour être le premier à laisser un commentaire.
                    
            
                
                    1.
                
                The \n digraph forces the print() function to:
            
        
                
                    2.
                
                The meaning of the keyword parameter is determined by:
            
        
                
                    3.
                
                The value twenty point twelve times ten raised to the power of eight should be written as:
            
        
                
                    4.
                
                The 0o prefix means that the number after it is denoted as:
            
        
                
                    5.
                
                The ** operator:
            
        
                
                    6.
                
                The result of the following division: 1/1
            
        
                
                    7.
                
                Which of the following statements are true? (Select two answers)
            
        
                
                    8.
                
                Left-sided binding determines that the result of the following expression: 1 // 2 * 3 is equal to :
            
        
                
                    10.
                
                The print() function can output values of:
            
        
                
                    11.
                
                What is the output of the following snippet? x =1; y=2; z=x; x=y; y=z print(x,y)
            
        
                
                    12.
                
                What is the output of the following snippet if the user enters two lines containing 2 and 4 respectively? x = input(); y = input(); print(x + y)
            
        
                
                    13.
                
                What is the output of the following snippet if the user enters two lines containing 2 and 4 respectively? x=int(input()); y=int(input()); x=x//y; y=y//x; print(y)
            
        
                
                    14.
                
                What is the output of the following snippet if the user enters two lines containing 2 and 4 respectively? x = int(input()); y = int(input());   x = x / y; y = y / x ;  print(y)
            
        
                
                    15.
                
                What is the output of the following snippet if the user enters two lines containing 11 and 4 respectively? x = int(input()); y = int(input()) ;  x = x % y; x = x % y; y = y % x;  print(y)
            
        
                
                    16.
                
                What is the output of the following snippet if the user enters two lines containing 3 and 6 respectively? x = input(); y = int(input());  print(x * y)
            
        
                
                    17.
                
                What is the output of the following snippet? z = y = x = 1; print(x, y, z, sep='*')
            
        
                
                    18.
                
                What is the output of the following snippet? y = 2 + 3 * 5.  print(Y)
            
        
                
                    19.
                
                What is the output of the following snippet? x = 1 / 2 + 3 // 3 + 4 ** 2;  print(x)
            
        Partager ce contenu
Partager le lien
Partager sur les réseaux sociaux
Partager par email
Veuillez s'inscrire afin de partager ce Document par email.
Intégrer dans un autre site web
            Démarrez à la page