0% found this document useful (0 votes)
66 views4 pages

Programming Errors and Flowchart Analysis

The document outlines the tasks for CP 111 Week 12 Lab and Tutorial Work, focusing on programming errors, including syntax, semantic, and logical errors. It requires students to analyze flowcharts for types of control flow and determine outputs based on given variables, along with writing pseudocode for each flowchart. Students must work in groups and submit handwritten work by the deadline of March 1, 2021.

Uploaded by

BOAZ MEDIA
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
66 views4 pages

Programming Errors and Flowchart Analysis

The document outlines the tasks for CP 111 Week 12 Lab and Tutorial Work, focusing on programming errors, including syntax, semantic, and logical errors. It requires students to analyze flowcharts for types of control flow and determine outputs based on given variables, along with writing pseudocode for each flowchart. Students must work in groups and submit handwritten work by the deadline of March 1, 2021.

Uploaded by

BOAZ MEDIA
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

CP 111 WEEK 12 LAB AND TUTORIAL WORK

PROGRAMS: First year 2021 and Carry Over


1. Discuss and write short note on Programming Errors
2. With at least three exampled briefly explain the following:
a. Syntax Errors
b. Semantic Errors
c. Logical Errors
3. Describe the following flowcharts
a. What is the type of flow of control represented by the flowchart below? (sequential,
selection, or iteration) Regarding your answer, what is the category that flow of control
you have selected? Why?

b. What is the type of flow of control represented by the flowchart below? (sequential,
selection, or iteration) Regarding your answer, what is the category that flow of control
you have selected? Why?
c. What is the type of flow of control represented by the flowchart below? (sequential,
selection, or iteration) Regarding your answer, what is the category that flow of control
you have selected? Why?

d. What is the type of flow of control represented by the flowchart below? (sequential,
selection, or iteration) Regarding your answer, what is the category that flow of control
you have selected? Why?
4. What is the output of the following charts
a. Let A = 10 and B = 5; what will be the output from the following flowchart? Show how
you have reached to your conclusion.

b. Let n = 5; what will be the output from the following flowchart? Show how you have
reached to your conclusion.
c. Let N = 10; what will be the output from the following flowchart? Show how you have
reached to your conclusion.

d. Let N = 6; what will be the output from the following flowchart? Show how you have
reached to your conclusion.

5. For each of the flowchart in question 3 and 4, write the resulting pseudocode.

Instruction:

1. Form a group of 5 or 6 students


2. Your work should be in handwritten. A copy will be submitted.

Deadline: Monday, March 1 2021

You might also like