0% found this document useful (0 votes)
23 views

PPS (Programing For Problem Solving)

This document outlines an assignment for a programming for problem solving course. It includes 10 questions related to algorithms, flowcharts, the C programming language, variables, data types, operators, typecasting, precedence and associativity, errors, and writing a program to calculate simple interest. Students are asked to explain concepts, draw flowcharts, write algorithms, and provide examples in their responses.

Uploaded by

priyavratha29
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views

PPS (Programing For Problem Solving)

This document outlines an assignment for a programming for problem solving course. It includes 10 questions related to algorithms, flowcharts, the C programming language, variables, data types, operators, typecasting, precedence and associativity, errors, and writing a program to calculate simple interest. Students are asked to explain concepts, draw flowcharts, write algorithms, and provide examples in their responses.

Uploaded by

priyavratha29
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

R22 REG I B.

TECH I SEM

PROGRAMMING FOR PROBLEM SOLVING

ASSIGNMENT-1

ACADEMIC YEAR: (2023-24) BRANCH: AI&ML

1. a) What is an Algorithm? Explain its properties?

b) What is a flowchart? Draw its symbols?

c) Write and algorithm and draw a flowchart to find the largest of three numbers?

d) Write and algorithm and draw a flowchart to find roots of a quadratic equation?

1. Explain the structure of c program with example?

1. Explain C language tokens?

1. What is a variable? Write the rules for constructing a variable?

1. What are the various data types in c? Explain wit Examples?

1. What is an operator? Describe different types of operators that are included within the c language
with an example for each?

1. Differentiate between typecasting and type conversion.

1. What is the importance of precedence and associativity in evaluating an expression?


1. Explain different types of errors?

1. Write a c program to calculate simple interest?

You might also like