Skip to content
CramShare
FreePractice exam

D278 wgu scripting and programming foundations

COMP100 Computer Science — exam and revision material · Other

Updated today

Computer Science exam material, 10 pages. Originally published on StudyMerit.

Pages
10
Academic year
2025/2026
Language
English

What’s included

Preview 3 of 10 pages

See the first 3 pages exactly as they appear in the document.

Read page 1 as text

D278 WGU SCRIPTING AND PROGRAMMING FOUNDATIONS||UPDATED COMPLETE QUESTIONS WITH CORRECT VERIFIED ANSWERS FROM PAST ACTUAL EXAM What does a programmer do first to use an existing programming library? - CORRECT-ANSWER- Include the library What is a characteristic of an interpreted language? - CORRECT - ANSWER - Runs easily on different kinds of machines What is an advantage of interpreted programs? - CORRECT - ANSWER - They can be modified at run time.

Read page 2 as text

Which characteristic specifically describes a markup language? - CORRECT-ANSWER- Tags surround text to describe desired formatting. Which characteristic specifically describes interpreted languages? - CORRECT-ANSWER- They can be run one statement at a time. A car drove 200 miles using 10 gallons of fuel. Which operation should be used to compute the miles per gallon, which is 20? - CORRECT-ANSWER- Division Which operator should be used to determine if a number is evenly divisible by 5? - CORRECT-ANSWER- % A variable should hold a person's height in meters. Which data type should the variable be? - CORRECT - ANSWER - Float

Read page 3 as text

A variable should hold the names of all past U.S. presidents. Which data type should the variable be? - CORRECT - ANSWER - String array A program uses the number of seconds in a minute in various calculations. How should the item that holds the number of seconds in a minute be declared? - CORRECT-ANSWER- Constant integer secondsPerMinute A program determines if a user's age is high enough to run for U.S. president. The minimum age requirement is 35. How should the item that holds the minimum age be declared? - CORRECT-ANSWER- Constant integer minAge

That’s the free preview

You’ve read 3 of 10 pages. The whole document is yours with a free account, and it stays in your library.

Free

With a free account