User contributions for Wikiadmin

From Applied Science
A user with 2,632 edits. Account created on 19 January 2022.
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

26 April 2022

25 April 2022

24 April 2022

23 April 2022

22 April 2022

  • 19:1719:17, 22 April 2022 diff hist +4,419 N Commented exercisesCreated page with "* '''The two algorithms below attempt to calculate xn. However, both are wrong, explain the error in each one:''' <div style="margin-left:1.5em;"> {| class="wikitable" |<div class="code">for (i = 1; i <= n; i++) x = x * i;</div> || It's successively multiplying by an increasing counter. For x = 4, we have 4 * 1 * 2 * ... * n |- |<div class="code">for (i = 0; i < n; i++) x = x * x;</div> || It's squaring the number over and over n times. For x = 4, we have 42, then 162, t..."
  • 18:1418:14, 22 April 2022 diff hist +6,408 N Programming practicesCreated page with "Some recommendations and small programming techniques are employed in the introduction. They are small details that do not determine whether you pass or fail, but are useful for learning purposes anyway. <div style="text-align:center;"> '''Comments''' </div> * All teachers recommend that you comment your programs, both because that counts for grading of the programming exercises, as well as because that makes your code more accessible for other people, or even yoursel..."
  • 16:3916:39, 22 April 2022 diff hist +4,685 N Characters and stringsCreated page with "It's a common practice to teach how to use characters only after teaching how to operate with numbers and variables. This is done because characters are represented by numeric codes. There is one fundamental concept about how computers work. Deep down the computer works by doing elementary logic operations. That's very hard or very easy to grasp depending on the person. It's unnatural to think on words with logical operations. The algorithms that deal with characters ar..."
  • 15:1415:14, 22 April 2022 diff hist +8 Random numbersNo edit summary
  • 15:1415:14, 22 April 2022 diff hist +3,011 N Random numbersCreated page with "For this introductory level, random numbers are not studied. They show up when we need to test programs with random inputs. To study algorithms that generate random numbers or the mathematical theory behind them is not a subject to be discussed at this stage. Random numbers do not obey to any law or formula, therefore they are impossible to be generated by any computer running some algorithm. The numbers that we see are pseudo-random, numbers that have a law of formatio..."
  • 15:0115:01, 22 April 2022 diff hist +3,834 N Dynamic memory allocationCreated page with "When variables and functions are created they go in the computer's memory. At this introductory level we ignore how memory is managed. We are assuming that it is correctly allocated and deallocated by the operational system. There is a whole class of algorithms that deal with memory management that we won't go in detail at this time. '''There are many natural questions that arise when we think about how the operational system handles memory:''' ''"Where in the memory a..."
  • 14:3314:33, 22 April 2022 diff hist +32 Introduction to computingNo edit summary
  • 14:2014:20, 22 April 2022 diff hist +10 Introduction to functionsNo edit summary
  • 14:0714:07, 22 April 2022 diff hist +18 Struct data ypeNo edit summary
  • 13:5913:59, 22 April 2022 diff hist +6 Arrays and matricesNo edit summary
  • 13:5413:54, 22 April 2022 diff hist −5 Switch caseNo edit summary
  • 13:5313:53, 22 April 2022 diff hist −15 Conditional operatorNo edit summary
  • 13:4613:46, 22 April 2022 diff hist +6 Search and sortNo edit summary
  • 13:4613:46, 22 April 2022 diff hist +3,281 Search and sortNo edit summary
  • 01:2201:22, 22 April 2022 diff hist +2,766 Search and sortNo edit summary
  • 00:1900:19, 22 April 2022 diff hist +6,573 N Search and sortCreated page with "In this introduction we study the most elementary algorithms for searching and sorting. They are less efficient, but are easier to understand. The faster ones rely on more advanced knowledge that is beyond the objectives of this course. There are some probability theories behind such problems but we skip those for now. The usual way to tech these algorithms is by showing a sequence of values and performing a search or sort operation by hand. After that we attempt to tra..."

21 April 2022

20 April 2022

19 April 2022

(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)