Overview

Introduction

Welcome to the Fundamentals of Software Programming Practice Lab. In this module, you will be provided with the instructions and devices needed to develop your hands-on skills.

Learning Outcomes

In this module, you will complete the following exercises:

  • Exercise 1. Using Different Data Types in a Console Application
  • Exercise 2. Demonstrating the Difference Between Compiled and Interpreted Languages

After completing this lab, you will be able to:

  • Demonstrate different data types
  • Demonstrate compiled language
  • Demonstrate interpreted language

Exam Objectives

The following exam objectives are covered in this lab:

  • 1.2 Compare and contrast fundamental data types and their characteristics.
  • 4.1 Compare and contrast programming language categories.
  • 4.3 Explain the purpose and use of programming concepts.

Lab Duration

It will take approximately 60 minutes to complete this lab.

Exercise 1 - Using Different Data Types in a Console Application

Basic data types used in a programming language include int, float, character, string, and arrays.

In this exercise, you will use different data types in a console application. You will use Visual Studio 2017 as the integrated development environment (IDE) to demonstrate the tasks in this exercise.

Learning Outcomes

After completing this exercise, you will be able to:

  • Demonstrate different data types

Exercise 2 - Demonstrating the Difference between Compiled and Interpreted Languages

Programming languages can be classified as compiled languages and interpreted languages. A compiler reads the entire code and transforms the source code into machine language for processing. For example, C#. An interpreter reads each line at a time and converts it into machine language for processing. For example, JavaScript.

In this exercise, you will demonstrate the difference between a compiled and an interpreted language.

Learning Outcomes

After completing this exercise, you will be able to:

  • Demonstrate compiled language
  • Demonstrate interpreted language

Comprehensive Learning

See the full benefits of our immersive learning experience with interactive courses and guided career paths.