Free CPA – C++ Certified Associate Programmer Practice Test Question

Free demo downloads

Loading demo links...

Showing 1–3 of 15 questions

Question 1 (Volume A)

Which of the following is a logical operator?

Select all that apply, then click Submit answer.

  • ○

    &

  • ○

    &&

  • ○

    ||

  • ○

    !

Question 2 (Volume A)

How could you pass arguments to functions?

Select all that apply, then click Submit answer.

  • ○

    by value

  • ○

    by reference

  • ○

    by pointer

  • ○

    by void

Question 3 (Volume B)

Which of the following is a user defined data type?

1:

struct person

{

char name[20];

int age;

};

2:

int l=2;

3:

enum color {red,blue, green};

D.

char c;

Select all that apply, then click Submit answer.

  • ○

    1

  • ○

    2

  • ○

    3

  • ○


    char c;

    4