Category : C programming - Introduction to Algorithms and Programming
C programming – Introduction to Algorithms and Programming
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Welcome to All Test Answers
C programming – Introduction to Algorithms and Programming
60-141-01 Introduction to Algorithms and Programming Winter 2017 Midterm Examination # 2 - Sample Questions Question 1. [ 13 marks ] Answer each part of this question. Each part is independent of the other parts. A. Assume the following declarations: [ 2 marks ] int X ...
Continue reading60-141-01 Introduction to Algorithms and Programming Winter 2014 Midterm Examination # 1 Question 1. [ 6 marks ] For each of the following parts, write a C language statement that performs the indicated task. Assume the float type variables N1 and N2 are defined ...
Continue reading60-141 – Introduction to Programming II Objective: In this Lab you will practice implementing and using dynamically allocated data structures. Background:. The problem of not having enough space to store data, or wasting space by having too much of it using a ...
Continue reading60-141 – Introduction to Programming II Objective: In this Lab you will practice using sequential and direct access forms of writing and reading to and from a text (character based) file and a binary file. PRELIMINARY NOTE: There are two basic types ...
Continue reading60-141 – Introduction to Programming II Winter, 2017 Objective: (a) Learn more about the functions from the standard libraries. There are a great many standard functions that are included with C compilers. These functions are designed to carry out various common ...
Continue reading60-141 – Introduction to Programming II Objective: Learn to use and manipulate strings and arrays of characters. In C, a string is simply defined as an array of characters terminated by the null character, or string delimiter, '\0'. If we want to store ...
Continue reading60-141 – Introduction to Programming II Objective: Learn to use pointers and operators at a more advanced level. A. Pointer Operators Type the following program and document every line by explaining its function and output. If any line produces an error, comment ...
Continue reading60-141 – Introduction to Programming II Objective: Learn to use pointers. 1. Consider the following C program. Assume that memory addresses are expressed in decimal numbers and an integer takes 4 bytes. Also, assume ids = &ids[0] = 2000. What would be ...
Continue reading60-141 – Introduction to Programming II Objectives: Practice dealing with 2D arrays. Pre-requisite(s): - Read and review chapter 6. Manipulating a 2D array: 1. Create a two dimensional array (e.g. int A2D [ M ][ N ] ;) of size M x N to ...
Continue reading60-141 – Introduction to Programming II Objectives: - Practice designing/implementing algorithms using recursion - Practice use of recursive functions Pre-requisite(s): - Read and review chapters 1-5. In this Lab #2, you must code and document the following functions using RECURSION only. As with the last Lab ...
Continue reading60-141 – Introduction to Programming II Objectives: - Practice designing/implementing algorithms - Practice use of functions Code and document the following functions using NON-RECURSIVE ITERATION only. Test the functions by calling them from a simple interactive main() function using a menu, with different values used ...
Continue reading