Look at the following pseudoocode and insert the missing statement:Start// Declare variablesDeclare String lastName, firstName, fullName// Input last and first namesDisplay "Enter your last name: "Input lastNameDisplay "Enter your first name: "Input firstName// Concatenate names with space in between____// Display full nameDisplay "Your full name is " + fullNameStop

A. fullName = firstName + lastName
B. fullName = firstName + " " + lastName
C. fullName = firstName, lastName
D. fullName = firstName, space, lastName


Answer: B

Computer Science & Information Technology

You might also like to view...

Consider the case studies described in Appendix B. Produce a report for each case study outlining the legal and ethical issues that need to be considered and make any recommendations you think appropriate.

What will be an ideal response?

Computer Science & Information Technology

Write a fragment of code that will compute the sum of the first n positive odd integers. For example, if n is 5, you should compute 1 + 3 + 5 + 7 + 9.

What will be an ideal response?

Computer Science & Information Technology

A dialog box is a small window that displays options for completing a task

Indicate whether the statement is true or false

Computer Science & Information Technology

Name at least two things you can do in the animation panel.

What will be an ideal response?

Computer Science & Information Technology