Skip to content
  • Home
  • CCNA Labs
    • CCNA 1 LAB Activities (v6 & v7)
    • CCNA 2 LAB Activities (v6 & v7)
    • CCNA 3 LAB Activities (v6 & v7)
    • CCNA 4 Lab Activities
  • Linux
    • Linux Unhatched
    • Linux Essentials 2.0
    • Linux Essentials
    • Introduction to Linux I
    • Introduction to Linux II
  • Programming
    • PCAP – Programming Essentials in Python
    • CLA – Programming Essentials in C
    • CPA Programming Essentials in C++
  • About
    • Contact Us
    • Privacy Policy

CCNA 7 Exam Answers 2023

Go with our CCIE, Passed 100%

  • ITE
    • ITE - IT Essentials v7.0
    • ITE - IT Essentials v6.0
      • IT Essentials Lab 2019
    • ITE v5.0 Exam
    • Virtual Activity Laptop
    • Virtual Activity Desktop
  • NE
    • MF
  • CCNA
    • CCNA1
      • CCNA1 v7.0 – ITN
      • CCNA1 v6.0
    • CCNA2
      • CCNA2 v7.0 – SRWE
      • CCNA2 v6.0
    • CCNA3
      • CCNA3 v7.0 – ENSA
      • CCNA3 v6.0
    • CCNA4
      • CCNA4 v6.0
  • Cyber-Security
    • ITC – Introduction to Cybersecurity 2.1 (Level 1)
    • CE – Cybersecurity Essentials 1.1 (Level 2)
    • CCNA CyberOps 1.1 (Level 3)
  • Security
    • CCNA Security v2
  • DevNet
  • CCNA PT Lab 2023

CPA Chapter 1 Assessment Answers 100%

Last Updated on May 20, 2021 by Admin

CPA Chapter 1 Assessment Answers 100%

  1. Which of the following strings is a proper integer number (in the “C++” language sense)?

    • 3.14
    • 3E14
    • 3,14
    • 314
  2. What is the value of the following literal?

    010

    • 8
    • 10
    • The literal is invalid.
    • 2
  3. What is the value of the following literal?

    X10

    • The literal is invalid.
    • 10
    • 16
    • 2
  4. What is the value of the following literal?

    018

    • 16
    • The literal is invalid.
    • 10
    • 2
  5. What is the value of the following literal?

    0x1A

    • The literal is invalid.
    • 16
    • 6
    • 26
  6. Which of the following strings represents a valid variable name?

    • first_literal_is_invalid
    • first literal is invalid
    • #1_literal_is_invalid
    • 1_literal_is_invalid
  7. Which of the following strings does not represent a valid variable name?

    • Auto
    • AUTO
    • auto
    • aUTO
  8. Which of the following strings is a proper floating-point number (in the “C++” language sense)?

    • 3_14
    • 3,14
    • 3.14
    • E14
  9. What is the value of the following literal?

    0E1

    • The literal is invalid.
    • 0.01
    • 0
    • 0.1
  10. What is the value of the following literal?

    -1e-1

    • -0.1
    • -10.0
    • -1.0
    • The literal is invalid.
  11. What is the value of the i variable?

        float x = 1.0 / 4.0;
    int i = x;

    • 1
    • 0
    • a quarter
    • 0.25
  12. What is the value of the x variable?

        float x = 1. / 2. + 2. / 4.;

    • 1.0
    • 0.75
    • 0.5
    • 0.25
  13. What is the value of the k variable?

        int k = 1 % 2 + 4 % 2;

    • 0
    • 3
    • 1
    • 2
  14. What is the value of the k variable?

    int i = 1;
    int j = ++i;
    int k = j++;

    • 0
    • 1
    • 2
    • 3
  15. What is the final value of the k variable?

    int i = 3, j, k;
    if(i > 0) j = 2 + i * i;
    if(i <= 0) j = 2 * i – 1;
    if(j >= 0) k = j % i + 2;
    if(j < 0) k = i % j + 2;
    if(k < 0) k = k % i % j;
    if(k >= 0) k = j % i % k;

    • 2
    • 1
    • -1
    • -2
  16. What is the final value of the k variable?

    int i = 3, j = 2, k = -1;
    if(i > 0) {
    if(j <= 0) {
    if(k < 0)
    k++;
    if(k <= 0)
    k–;
    }
    if(j > 0)
    i++;
    }
    if(i <= 0)
    j++;
    k = i + j + k;

    • 4
    • 3
    • 5
    • 6
  17. What is the output of the following snippet?

        int i = 3, j = ++i, k = ++i;
    cout << k << j << i;

    • 543
    • 454
    • 345
    • 545
  18. What is the output of the following snippet if a digit 5 followed by Enter is entered through the keyboard?

        int i = 3, j = ++i, k = ++i;
    cin >> i;
    cout << k + i << j – i << i * i;

    • 10125
    • 10545
    • 10-545
    • 10-125
  19. What is the output of the following snippet if a digit 8 followed by Enter is entered through from the keyboard?

        int i;
    cin >> i;
    cout << i << hex << i + i << oct << i;

    • 81010
    • 8×10010
    • 810010
    • 8168
  20. What is the output of the following snippet if a string 2.5 followed by Enter is entered through the keyboard?

        float x;
    cin >> x;
    cout << scientific << “x”;

    • 0.25E1
    • x
    • 2.5
    • 2.5E0
  • CCNA1 v7
  • CCNA2 v7
  • CCNA3 v7
System Test Exam Answers
Modules 1 – 3 Exam Answers
Modules 4 – 7 Exam Answers
Modules 8 – 10 Exam Answers
Modules 11 – 13 Exam Answers
Modules 14 – 15 Exam Answers
Modules 16 – 17 Exam Answers
Practice Final – ITN Answers
Course Feedback
ITN Practice PT Skills Assessment (PTSA)
Final Exam Answers
Modules 1 – 4 Exam Answers
Modules 5 – 6 Exam Answers
Modules 7 – 9 Exam Answers
Modules 10 – 13 Exam Answers
Modules 14 – 16 Exam Answers
ITN Practice Skills Assessment – PT Answers
SRWE Practice Skills Assessment – PT Part 1 Answers
SRWE Practice Skills Assessment – PT Part 2 Answers
SRWE Hands On Skills Exam Answers
SRWE Practice Final Exam Answers
SRWE Final Exam Answers 
Modules 1 – 2 Exam Answers
Modules 3 – 5 Exam Answers
Modules 6 – 8 Exam Answers
Modules 9 – 12 Exam Answers
Modules 13 – 14 Exam Answers
ITN Practice PT Skills Assessment (PTSA) Answers
SRWE Practice PT Skills Assessment (PTSA) – Part 1 Answers
SRWE Practice PT Skills Assessment (PTSA) – Part 2 Answers
ENSA Practice PT Skills Assessment (PTSA) Answers
ENSA Hands On Skills Exam Answers
Practice Final – ENSA Answers
ENSA Final Exam Answers
CCNA Certification Practice Exam Answers

Copyright © 2023 PressExam.