# Knowledge check: Welcome to Programming with JavaScript

1. Question 1: **What is the data type of the value "Hello, World"?**
    
    * <mark>string</mark>
        
    * number
        
    * boolean
        
2. Question 2: **What is the data type of the value true ?**
    
    * string
        
    * number
        
    * <mark>boolean</mark>
        
3. Question 3: **What is the % operator?**
    
    * The modulus operator
        
    * <mark>The division operator</mark>
        
    * The concatenation operator
        
4. Question 4: **What happens when you use the + operator on two strings?**
    
    * <mark>They get joined into a single string</mark>
        
    * You can't use the + operator on two strings
        
5. Question 5: **What is the operator symbol && represent in JavaScript?**
    
    * The logical OR operator
        
    * <mark>The logical AND operator</mark>
        
    * The logical NOT operator
        
6. Question 6: **What happens when you use the + operator on a string and a number?**
    
    * Nothing - you can't use the + operator on different data types
        
    * <mark>They get joined together as if both of them were strings</mark>
        
7. Question 7: **What is the value of i after the following code runs?**
    
    ```javascript
    var i = 7;
    i += 1;
    i += 2;
    ```
    
    * 7
        
    * 8
        
    * 9
        
    * <mark>10</mark>
