CSP bundled EXAMS !! 2023 ||| ACTUAL EXAMS|| ACTUAL TESTS|| ALL PACKAGED HERE!!! 2023 ( A+ GRADED 100% VERIFIED)

CSP Final Exam
Absolute Filename – ANS Includes the entire directory pathway to get to
the specified file, as opposed to the relative filename that is specified only
from the current working directory.
Absolute Path – ANS Representation of the location of a resource on a
hard disk with respect to the root or the location of a web resource using a
full URL.
Abstraction – ANS A generalization with loss of detail. A model hides
many details, often by reducing several factors into a single parameter.
Accumulator Variable – ANS Maintains a running total.
Aggregator Variable – ANS Stores a list of values built up over time and
remembers separate individual values.
Agile Design – ANS A method of software development that emphasizes
frequent client input to produce better end products.

Algorithm – ANS A step-by-step procedure, like a recipe, but often
involving decisions.
Alpha channel – ANS Part of a pixel’s data that tells how opaque or
transparent that color should appear when the graphics card calculates
how to render the image on screen.
Application – ANS A program run by the operating system to meet
particular needs of a user.
Arguments – ANS The values that the programmer provides in the
function call.
Array – ANS An ordered collection of elements of the same type.
Assignment Operator – ANS The ‘=’ character causes the compiler or
interpreter to evaluate to the expression on its right and store the result in
the variable(s) on its left.

CSP Exam – PNCM Normal Nutrition –
Different Age Groups
Which growth chart should be used for children 0 to 24 months of age? –
ANS WHO (World Health Organization).
Which growth chart should be used for children 2 to 20 years of age? –
ANS CDC (Center for Disease Control).
How long is exclusive breastfeeding recommended? – ANS 6 months.
Compared to breastfed infants, infants who are fed artificial infant milk are
at increased risk of what things? – ANS Otitis Media, Lower Respiratory
Tract Infections, Diarrhea, Bacterial Meningitis and Sepsis.
Formula fed infants have an increased rate of what things? – ANS Sudden
Infant Death Syndrome, Necrotizing Enterocolitis, Post Neonatal Deaths
and Hospitalizations, Atopic Dermatitis, Leukemia, Lymphoma, Hodgkin’s
Disease, Asthma, Diabetes, Higher Rates of Obesity and Lower IQ Scores.

What are the unique components of human milk to protect the infant from
infection? – ANS Immune Cells, Immunoglobulins, Long Chain
Polyunsaturated Fatty Acids, Cytokines, Oligosaccharide’s, Nucleotides,
Hormones, Bioactive Peptides, Glycans and Lactoferrin.
True or False.
Human milk composition varies among mothers and is constantly changing
depending on the time of day, the mother’s diet, the stage of lactation,
gestational age and whether it’s the beginning or end of the feeding? –
ANS True.
What is the energy distribution of human milk? – ANS 50% Fat, 40-45%
Carbohydrate and 6% Protein.
Does human milk contain cholesterol? – ANS Yes, and this exposure may
be significant for early programming and reduction of cholesterol synthesis
later in life.

What is the primary carbohydrate of breast milk and where is it produced? –
ANS Lactose and it is produced in the mammary gland and enhances
mineral absorption.
What 3 enzymes does human milk contain? – ANS Amylase
(carbohydrates), Protease (protein) and Lipase (fat).
Are the amounts of Zinc, Copper, Iron and Calcium in human milk related to
maternal serum levels or dietary intake? – ANS No, they do not appear to
be related.
What is the milk called that is first produced? – ANS Colostrum.
What thing are higher and lower in colostrum as compared to mature milk?

  • ANS It is higher in protein and lower in fat and lactose.
    Which vitamins and minerals are higher in colostrum than mature milk? –
    ANS It is higher in Sodium, Chloride, Potassium, Zinc and Vitamins A and
    E.

What percent water is human milk? – ANS 87%, therefore infants do not
need other fluid aside from breast milk, even in hot weather.
Infants born between what weeks gestation may have feeding difficulties? –
ANS 34 and 37 weeks gestation.
When evaluating the infant for failure to thrive, what should you look for? –
ANS Poor Intake (poor suck, infrequent feeds, structural abnormality),
Low Net Intake (vomiting, diarrhea, malabsorption, infection), High Energy
Requirement (neurologic disorders, congestive heart failure) and Low
Output (<1 wet diaper per day if less than 6 days old or <6 wet diapers if
older than 6 days old).
When evaluating the mother for failure to thrive, what should you look for?

  • ANS Poor Production (anatomic, hormonal, nutritional, pharmacological,
    stress, illness, fatigue) and Poor Let Down (physiologic, pain, hormonal,
    pharmacological, smoking).
    What day of life does bilirubin levels normally peak? – ANS Day of Life 5.
    Physiological jaundice is common in infants in the first week of life.

CSP Exam Review
Line1: IF (x=0)
Line2: {
Line3: x ← 1 * x + y
Line4: }
Line5: ELSE
Line6: {
Line7: x ← x + y
Line8: }
Which of the following will NOT affect the results when the segment is
executed? – ANS Change line 3 to x ← y
PROCEDURE Mystery (x) {
result ← 0
REPEAT 2 TIMES {
REPEAT 3 TIMES
{
result ← x + result

}
}
RETURN result
}
Which of the following expressions is equivalent to the value returned from
Mystery (x)? – ANS 23x
r ← 1
s ← 2
t ← 3
r ← s
s ← t
DISPLAY (r)
DISPLAY (s)
What is displayed as a result of running he code segment? – ANS 2 3
A bank uses a computer program during the night to tell if the alarm should
be rung. Sensors in the bank set the following Boolean variables:

vaultClosed: set to true if the bank vault is closed; otherwise false.
heardNoise: set to true if a microphone heard noise; otherwise false
sawMovement: set to true if a camera saw movement in the bank;
otherwise false
The automatic alarm should notify the police if there is movement in the
bank, or if the bank vault is open. Which of the following boolean
expressions can be used n a selection statement to ring the alarm? – ANS
NOT vaultClosed OR (heardNoise OR sawMovement)
What is the printed value of this program?
var isRaining = false;
var isCloudy = false;
var = isSunny = !isRaining && !isCloudy;
var isSummer = false;
var isWarm = isSunny || isSummer;
println(“Is it warm: “+ isWarm); – ANS Is it warm: true

AP CSP Exam Questions
Which of the following is not a common number system utilized in the
representation of data?
A) Base 32
B) Base 10
C) Base 2
D) Base 16 – ANS Base 32
Convert 24base8 to decimal – ANS 20
Which base(s) can’t be used for 18?
I. Base 10

  1. Base 2
  2. Base 8
  3. Base 16 – ANS Base 8
    Convert RGB values of (0, 255, 213) to hexadecimal – ANS #00FFD5

What is the largest number? 100 (decimal), 7B (hexadecimal), 1011010
(binary)? – ANS 7B
How can we easily eliminate a multiple choice function that seems to be
doing something? – ANS Look for variables in the code that are changing,
if you see a change in a necessary variable, you can eliminate that answer.
When is a heuristic algorithm most practical? – ANS When a problem
cannot be solved in a reasonable time but an approximate solution will
suffice.
How many more values can be represented with 64 bit hardware instead of
32 bit hardware? – ANS 2^32 times as many values can be represented
How can we effectively switch variables in an already created program? –
ANS Use a substitute to keep track of what variables are which.
How does code execute? – ANS Always in order from top down.

CSP Practice AP Exam
A binary question is defined as
a. A piece of information that is sent in pairs
b. Two questions which share the same answer
c. A message which has two possible states
d. A question which can be answered in only one of the two possible ways –
ANS D
A binary message consisting of four bits was sent to you by a friend. The
message was supposed to be ABAB. Unfortunately your friend sent the bit
on the wire once every 2 seconds, but you read the wire once every
second. Assuming that the first bit was sent and read at the same time,
what message did you receive instead?
a. ABAB
b. AABB
c. AAAA
d. BBBB
e. ABBB – ANS B

When sending a response to a question with four possible answers, the
most efficient method will require no more than how many bits?
a. 5 bits
b. 4 bits
c. 3 bits
d. 2 bits
e. 1 bit – ANS D
If you had two different shapes ( a circle and a square) how many 3 place
patterns can you make?
a. 4
b. 6
c. 8
d. 10
e. 12 – ANS C
What is the minimum number of bits you will need to encode the 26 letters
of the alphabet plus a space?
a. 2 bits
b. 3 bits
c. 4 bits

d. 5 bits
e. 6 bits – ANS D
A standard QWERTY keyboard has 47 characters that can place characters
on the screen. Each of these keys can also display a second character by
holding the “Shift” key at the same time. How many bits would you need to
encode everything that could be typed on this keyboard?
a. 3 bits
b. 4 bits
c. 5 bits
d. 7 bits
e. 12 bits – ANS D
ASCII is an acronym for
a. American Standard Cryptography Information Instruction
b. American Standard Code for Information Interchange
c. American Standard Cipher for Information Instruction
d. None of the above – ANS B
ASCII has an encoding for every character of the alphabet as well as
encodings for numbers– that is encodings for the symbols of the digits 0 –

  1. How many bits are required to store the text of the number “200” in
    ASCII?
    a. 3 bits
    b. 8 bits
    c. 16 bits
    d. 24 bits
    e. 32 bits – ANS D
    The Internet is composed of many layers. Higher level layers depend on the
    functionality of the lower levels without worrying about precisely how
    those layers work. These layers in order from lower to higher are:
    a. Physical network, IP, TCP
    b. IP, Physical network, TCP
    c. TCP, IP, Physical network
    d. Physical Network, TCP, IP – ANS D
    The Internet Engineering Task Force (IETF) defines the protocols and
    standards for how the Internet works. The members of the IETF are:
    a. An international coalition of government agencies who oversee the
    Internet in their countries
    b. The worldwide leaders of the Tier 1 internet service providers

AP CSP Exam Vocabulary
Iterate
To repeat in order to achieve, or get closer to, a desired goal.
while loop
a programming construct used to repeat a set of commands (loop) as long as
(while) a boolean condition is true.
Models and Simulations
a program which replicates or mimics key features of a real world event in order
to investigate its behavior without the cost, time, or danger of running an
experiment in real life.
Array
A data structure in JavaScript used to represent a list.
List
A generic term for a programming data structure that holds multiple items.
Key Event
in JavaScript an event triggered by pressing or releasing a key on the keyboard.
For example: “keyup” and “keydown” are event types you can specify. Use
event.key – from the “event” parameter of the onEvent callback function – to figure
out which key was pressed.
for loop

A typical looping construct designed to make it easy to repeat a section of code
using a counter variable. The for loop combines the creation of a variable, a
boolean looping condition, and an update to the variable in one statement.
Return Value
A value sent back by a function to the place in the code where the function was
called form – typically asking for value (e.g. getText(id)) or the result of a
calculation or computation of some kind. Most programming languages have
many built-in functions that return values, but you can also write your own.
Canvas
a user interface element to use in HTML/JavaScript which acts as a digital
canvas, allowing the programmatic drawing and manipulation of pixels, basic
shapes, figures and images.
Callback function
a function specified as part of an event listener; it is written by the programmer
but called by the system as the result of an event trigger
Event
An action that causes something to happen
Event-driven program
a program designed to run blocks of code or functions in response to specified
events (e.g. a mouse click)
Event handling
an overarching term for the coding tasks involved in making a program respond
to events by triggering functions

Event listener
a command that can be set up to trigger a function when a particular type of
event occurs on a particular UI element
UI Elements
on-screen objects, like buttons, images, text boxes, pull down menus, screens
and so on
User Interface
The visual elements of an program through which a user controls or
communications the application. Often abbreviated UI
Debugging
Finding and fixing problems in your algorithm or program.
Data Type
All values in a programming language have a “type” – such as a Number, Boolean,
or String – that dictates how the computer will interpret it. For example 7+5 is
interpreted differently from “7”+”5″
Expression
Any valid unit of code that resolves to a value
Variable

A placeholder for a piece of information that can change

The equality operator (sometimes read: “equal equal”) is used to compare two
values, and returns a Boolean (true/false). Avoid confusion with the assignment
operator “=”,

CSP Practice Exam
T/F: Professional employer organizations generally recruit workers from
the labor market and assign them to clients. – ANS False
T/F: An aggrieved employee has the option of not filing a charge with the
Dept of Civil Rights but instead filing an action in state court – ANS True
In several states, such as Arkansas, Massachusetts and Pennsylvania,
waivers executed by staffing firm employees in which employees gave up
rights to sue any client for injuries covered by state workers’ compensation
laws _ been upheld. – ANS Have
T/F: Liability arising out of a staffing firm and client’s co-employment
relationship generally is not “joint and severable” – ANS True; liability
arising from a co-employment relationship is generally not joint and
severable; one employer cannot be held vicariously liable for the wrongful
acts of the other without regard to fault

Talented staffing has placed 10 people on an assignment performing the
same job. The employees are equally qualified. Talented Staffing has paid
all of the women 75 cents more per hour than the men. Is this permitted
under MI law? – ANS No
T/F: For workers’ compensation purposes, most courts have treated
staffing firm clients as “special employers”, thereby creating tort liability
for the client. – ANS False
T/F: Adam shared negative information that was false about Karl’s
employment with Talented Staffing. Because of this reference, Karl was
denied the job. Under MI law, Adam and Talented Staffing cannot be held
liable. – ANS False
Under Federal law are employers prohibited from refusing to hire
candidates based on lawful conduct such as use of alcohol, smoking or
gun ownership? – ANS No
T/F: E-Verify is an electronic system for the completion of the I-9 Form –
ANS False

CSP Practice Exam – 1-5
Questions and answers to practice questions for the CSP Exam for the ASA
CSP Practice Exam – 1
Which of the following is NOT part of the ASA code of ethics and good practices –
ANS Staffing firms must offer benefits to all workers
Anthony is a non managerial employee of FedCo who recently turned 65. FedCo
has a mandatory retirement policy that requires Jerry to retire. Under the policy,
Jerry will receive an annual retirement benefit of $45,000. Under federal law, is
FedCo’s mandatory retirement policy lawful? – ANS False
In making hiring and other employment decisions __. – ANS
Only certain state laws protect against discrimination on the basis of sexual
orientation. Sexual orientation is not protected at the federal level.
NQR Staffing Firm uses the fillable PDF version of the 1-9 form. Are they still
required to print and sign the form – ANS True
The most common exception to the employment-at-will rule is that the
termination is contrary to public policy. Which of the following is NOT a type of
public policy. violation – ANS An employee is terminated for repeated violations
of the company’s punctuality policy.
Employment tax liability is one area in which firms generally have been viewed
as the sole employer. – ANS True

Staffing firms may terminate employees due to their union activities – ANS
False – According to the NLRA and applicable case law, terminating an employee
for engaging in union activities constitutes an unfair labor practice.
Some of FedCo’s client work sites are more than 75 miles away from FedCo’s
office. Will the temporary employee at those sites be counted in determining
eligibility for employees to take the leave under the federal Family and Medical
Leave Act? – ANS True – To be eligible for FMLA leave, an employee must
have worked for his or her employer for at least 12 months, for at least 1250
hours during the 12 month period preceding the start of the leave, and be
employed at a work site where the employer employs at least 50 employees
within a 75 mile radius.
With respect to staffing firms, the relevant work site for the 75 mile radius test is
the staffing office that assigned the employee to a client, and not the client’s work
site. A temporary employee who satisfies these criteria would be eligible for
FMAL Leave. – ANS True
Jerry was an employee of FedCo when he was called to active duty by the U.S.
Army. Jerry was released from active duty three years later. How long dies Jerry
have to apply for reemployment with FedCo under the federal Uniformed
Services Employment and Re-Employment Rights Act? – ANS 90 Days
Does the FMLA required paid leave? – ANS No
An employee may be fired for refusing to perform a task, even if that task is
illegal. – ANS False
Work that is occasional or irregular, where the individuals seeking work report
voluntarily to a central location, and we are assigned to client job sites as work
becomes available is generally called, ‘Day Labor.” – ANS True – Under the
ASA Code of ethics and good practices.”
For workers’ compensation purposes _ states have taken the view that
a client’s control of an employee’s activities at the worksite is grounds for holing
the client directly liable for paying workers’ compensation claims. – ANS Some

Under OSHA guidelines, staffing agencies are responsible for generic hazard
communication training. Host employers (clients) are responsible for site-specific
training. – ANS True
Anthony is the Personnel Director for FedCo. He was recently asked by his boss
to clean out his messy office. However, Anthony stores all of FedCo’s personnel
and employment records in his office. Under the federal law, FedCo must keep
employment records for how long after the date the record is made or the action
is taken (whichever is later)? – ANS One Year
The federal Equal Employment Opportunity Commission has issued regulations
that require employers to only use criminal records to the extent that they are
relevant to the job duties to be performed. – ANS True
For certain purposes, the federal tax law defines part-time as less than 37.5
hours per week. – ANS False
Which states require staffing firms to provide written notice regarding job
assignments? – ANS Massachusetts
California
New York
In a temporary staffing situation, who is considered the employer for FMLA
purposes? – ANS The temporary staffing company and the client are
considered joint employers
Under FLMA, the definition of a “spouse,” DOES include same-sex spouse –
ANS True
Co-Employment is likely to exist in most staffing arrangements. Both the client
and the staffing company must understand their obligations – ANS True
Under OSHA guidance, the client company has full responsibility for ensuring
temporary workers have adequate training for the potential chemical hazards in
their work environment. The staffing agency is not required to validate that
training takes place. – ANS False

Temporary employees ARE NOT likely to be eligible for membership to a union
representing the client’s employees – ANS True
The courts have been able to infer implied promises of a job security in all of the
following, personnel policies set forth in a supervisory manual, employee
handbooks and offer letters, but NOT in FORMS I-9 – ANS True
During a routine quality check, your contract employee shares with you that the
company he is placed at is so busy he does not have time for a lunch break.
Could this situation pose liability for your staffing firm? – ANS True
ABC Staffing Firm regulary contracts applicants’ former employers as part of a
routine reference check, and then provides reference information to their clients.
Under these circumstances, all of the following are required to exclude the
reference information from being considered a consumer report. – ANS 1. Prior
consent (oral or written) from the candidate to make the reference check.

  1. Written disclosure to the candidate of the nature and substance of all
    information in the file (sources need not be disclosed) within five dates of a
    requiest.
  2. Written confirmation by the candidate of any oral consent within three business
    days.
  3. Written notification to the candidate of the right to request the “nature and
    substance” of any information in the candidate’s file at the time the information is
    requested.
  4. Prior consent from the candidate to communicate the reference information to
    the prospective employer.
    A significant number of states require search and placement firms to be licensed.
  • ANS True
    A key factor in determining exempt status is/are JOB DUTIES – ANS True
    Under certain circumstances, assigned temporary employees may become
    eligible for client’s benefits – ANS True

Leave a Comment

Scroll to Top