Labour Day Special - 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: c4sdisc65

Scripting-and-Programming-Foundations PDF

$38.5

$109.99

3 Months Free Update

  • Printable Format
  • Value of Money
  • 100% Pass Assurance
  • Verified Answers
  • Researched by Industry Experts
  • Based on Real Exams Scenarios
  • 100% Real Questions

Scripting-and-Programming-Foundations PDF + Testing Engine

$61.6

$175.99

3 Months Free Update

  • Exam Name: WGU Scripting and Programming Foundations Exam
  • Last Update: May 18, 2024
  • Questions and Answers: 90
  • Free Real Questions Demo
  • Recommended by Industry Experts
  • Best Economical Package
  • Immediate Access

Scripting-and-Programming-Foundations Engine

$46.2

$131.99

3 Months Free Update

  • Best Testing Engine
  • One Click installation
  • Recommended by Teachers
  • Easy to use
  • 3 Modes of Learning
  • State of Art Technology
  • 100% Real Questions included

Scripting-and-Programming-Foundations Practice Exam Questions with Answers WGU Scripting and Programming Foundations Exam Certification

Question # 6

What is one characteristic of an object-oriented language that is not a characteristic of a procedural or functional language?

A.

The language is based on the concept of modular programming and the calling of a subroutine.

B.

The language is optimized for recursive programming.

C.

The language supports decomposing a program into objects that interact with one another.

D.

The language treats programs as evaluating mathematical functions.

Full Access
Question # 7

Which statement describes a compiled language?

A.

It is considered fairly safe because it forces the programmer lo declare all variable types ahead of time and commit to those types during runtime.

B.

It allows variables to change from the initial declared types during program execution.

C.

It specifies a series of well-structured steps to compose a program.

D.

It has code that is first converted to machine code, which can then only run on a particular type of machine.

Full Access
Question # 8

What are two example of valid function calls?

Choose 2 answers.

A.

round_number(4.723, 2)

B.

convort_value(12) returns cVa1

C.

Printsample()

D.

CountFactors(96 integer)

E.

function Sample (float 2.0)

F.

GetHeight(integer 3, integer 4)

Full Access
Question # 9

What does the following algorithm determine?

Scripting-and-Programming-Foundations question answer

A.

Whether x is even

B.

Whether x is evenly divisible by 2 or 3

C.

Whether x is odd

D.

Whether x r> negative. 0,

Full Access
Question # 10

What is put to output by the following flowchart, if the input is 305?

Scripting-and-Programming-Foundations question answer

A.

Backlog

B.

Interview

C.

Return

D.

interviewBacking

Full Access
Question # 11

A sequence diagram is shown:

Scripting-and-Programming-Foundations question answer

What is the purpose of a sequence diagram?

A.

It depicts program operations, branches, and loops.

B.

It outlines the needed computations.

C.

It illustrates the communication steps for a particular software scenario.

D.

It outlines the potential actions of a user

Full Access
Question # 12

A software developer creates a list of all objects and functions that will be used in a board game application and then begins to write the code for each object.

A.

Analysis and implementation

B.

Analysis and design

C.

Design and implementation

D.

Design and testing

Full Access
Question # 13

Which output results from the following pseudocode?

Scripting-and-Programming-Foundations question answer

A.

9

B.

18

C.

21

D.

25

Full Access
Question # 14

Which operator is helpful in determining if an integer is a multiple of another integer?

A.

/

B.

$

C.

| |

D.

+

Full Access
Question # 15

A function should return 0 if a number, N is even and 1 if N is odd.

What should be the input to the function?

A.

Even

B.

1

C.

0

D.

N

Full Access
Question # 16

Which language has extensive support for object-oriented programming?

A.

Markup

B.

HTML

C.

C

D.

C++

Full Access
Question # 17

Which type of language requires variables to be declared ahead of time and prohibits their types from changing while the program runs?

A.

Scripted (interpreted)

B.

Procedural

C.

Static

D.

Compiled

Full Access
Question # 18

A programming loam is using the waterfall design approach to create an application. Which deliverable would be produced during the design phase?

A.

A report of customer satisfaction

B.

A list of additional features to be added during revision

C.

A written description of the goals for the project

D.

The programming paradigm to be used

Full Access
Question # 19

What is an example of an algorithm?

A.

The list contains apples bananas, and oranges

B.

A webpage uses an HTML file type

C.

The sign of two integers determines the sign of the product

D.

Unplug the device, wait 30 seconds, and restart the device.

Full Access
Question # 20

Which characteristic distinguishes an object-oriented language from other languages?

A.

It includes custom variable types with methods, information hiding, data abstraction, encapsulation, polymorphism, and inheritance.

B.

It is extremely portable and can be run on any machine that has a program than can read the code.

C.

It has variables that never change type during execution

D.

lt specifies a series of well-structured steps to compose a program.

Full Access
Question # 21

Which data type should be used to hold the value of a person's body temperature in Fahrenheit

A.

Boolean

B.

Integer

C.

String

D.

Float

Full Access
Question # 22

What is the proper way to declare a student's grade point average throughout the term it this item is needed in several places in a program?

A.

variable int gpa

B.

constant float gpa

C.

constant int gpa

D.

variable float gpa

Full Access
Question # 23

A particular sorting takes integer list 10,8 and incorrectly sorts the list to 6, 10, 8.

What is true about the algorithm’s correctness for sorting an arbitrary list of three integers?

A.

The algorithm only works for 10,6, 8

B.

The algorithm is correct

C.

The algorithm's correctness is unknown

D.

The algorithm is incorrect

Full Access
Question # 24

A programmer is writing code using C. Which paradigm could the programmer be using?

A.

A procedural paradigm using dynamic types

B.

A procedural paradigm using sialic types

C.

A functional paradigm using dynamic types

D.

An event-driven paradigm using static types

Full Access
Question # 25

Which action occurs the design phase of an agile process?

A.

Wring the required objects

B.

Deciding on the scope of the program

C.

Determining the goals of the project.

D.

Determining the functions that need to be written

Full Access
Question # 26

Which two situations would be helped by using a programming library?

A.

A programmer needs to write several interacting objects for a student gradebook application, some of which need an inheritance structure.

B.

A programming student is writing code to iterate through the integers in a list and determine the maximum.

C.

A video game programmer needs to perform several animation tasks, all of which are very common in the industry. The programmer does not want to have to code each task. And they are unsure if they a even know how lo code a few of them.

D.

A programmer needs to perform a series of file compression tasks. These tasks are commonly performed by programmers, and the programmer does not want to have to code them all by hand

E.

A programmer is developing a database application that can house various types of data. The software cannot know ahead of time the data type, and so the programmer needs variables that do not require an initial declaration type.

F.

A programmer is writing a piece of mathematical code that requires the heavy use of recursive functions.

Full Access
Question # 27

What is the outcome for the given algorithm? Round to the nearest tenth, if necessary.

Scripting-and-Programming-Foundations question answer

A.

5.0

B.

6.0

C.

6.1

D.

8.4

Full Access