4.59 out of 5
223 reviews on Udemy

C# Programming for Beginners:Practical Applications Approach

Introducing Teens and Beginners to Programming Winforms in C#. More videos and practice exercises than any Intro course
Charlie Chiarelli
1,344 students enrolled
English [Auto-generated]
Program fluently in C# using Microsoft Visual Studio
Understand how to create a basic Windows Form Application ... No Console Apps
Understand the basic concepts of Selection, Repetition, and Methods
Understand the intermediate concepts of Object Oriented Programming, String Handling, Arrays (One, Two Dimensional), Random Numbers, Graphics, and Animation
Apply the programming skills learned to create meaningful computer applications from the world of business, science , math and gaming. These solutions will incorporate the software design life cycle of problem definition,analysis, design, implementation, testing and maintenance
Create Business applications which simulate a computerized cash register for a cafeteria, and a sign in system for a doctors office
Create Science applications which create charts that convert from Fahrenheit to Celsius
Create applications which track student marks and determine averages, and highest and lowest marks
Create applications which determine credit card eligibility for applicants based on a scoring system
Create applications which check the validity of a credit card using String manipulation techniques
Create a program that plays the card game War
Create a Math program which displays a bar chart of sales over a period of years
Create a Graphics program which simulates an "Etch-A-Sketch" drawing program
Create a simple object animation then use it as the basis for a car race game
Create a slot machine game
Create a falling objects games ... where you move an object around with the keyboard and catch objects falling from the sky for points
Create a Space shooter game
Fully appreciate the wide range of applications that the study of Computer Science provides.
* NEW * Extend the idea of coding and computational thinking by solving a series of advanced problems from a wide variety of disciplines.

Students will learn to create their own computer programs and video games using the C# programming language. No prior programming experience is assumed. This is a course for REAL BEGINNERS. We will introduce all the required programming skills from the ground up.This programming course is meant for ANYONE WHO WANTS TO LEARN TO CODE. We cover C# syntax but more importantly we introduce the PROBLEM SOLVING SKILLS necessary  to convert practical problems to solutions in code…You get paid for solving problems everything else is just a technicality.

Our focus will be working with Visual Studio on Windows machines .

A language like C# is typically learned “in a vacuum,” and stripped of potentially distracting visual elements or front-end graphical interfaces. This type of learning process – which is considered the standard approach – is great for communicating the fundamentals. It allows you to focus on the most important and basic programming concepts you will need to understand, and is often presented through the output of a static, text-based console window. However, learning a language in this console vacuum can also be bland and boring, and can often lead to students becoming disengaged entirely.

Students are more likely to remain engaged by learning how to build Windows applications from day one in tandem with learning the C# programming language. Therefore, my lectures are designed to keep you engaged with the process of learning C# fundamentals by presenting them through a series of lessons aimed at creating simple, Windows Form based applications. This course, by jumping right into apps with a Graphical User Interface, allows the learner to feel like they are learning concepts that produce a tangible result. 

I walk you carefully through every possible feature you can imagine, and I use hundreds of existing projects you can learn from, or expand on to make your own project. It’s worth sifting through a dozen mediocre Udemy courses to find a gem like this. It’s pretty close to a one stop shop for taking you from knowing nothing about WinForms, to building your own whole applications.

This course has more hours of video instruction (18 + hours) , lectures (90+) and exercises and supplemental resources (132+)  than virtually any other Introductory C# course offered on Udemy.  All for one low price.

Students will be exposed to all the stages in software development and develop problem-solving skills as well as learn the syntax of the C# language.

The challenges/applications are drawn from a variety of situations in the  home,school and  workplace. They address a wide spectrum of  interests including business, science, math,art,music, and especially ANIMATION and GAMES …(1/4 of the lectures).

My goal is not just to show you how to program, but to help you understand what you are doing, and why you are doing it.  I am online daily to respond to any problems you may encounter. 

Not only do the videos show you how to become a programmer in great detail, but each time an important concept is taught, I offer you a challenge that is designed to help you really understand what you have just learned.

You will go away and complete the challenge, and then come back and see the challenge answered and explained in detail in the video, allowing you to check your results!

Here’s how I will help you to succeed:

o    Each lecture starts with a list of objectives/speaking notes

o    Every example covered in the lecture is available for download in the resources section  … including the objectives/speaking notes

o    Almost every lecture has a set of Practice problems with full solutions provided

o    My style of writing and teaching follows the KISS principle : Keep It Super Simple.   I try to stay away from fancy computer terminology and try to teach like am speaking to a brand new user with little to no previous knowledge on the subject matter…. and  I am always available for help … replying most times within a day.

… and finally, this is NOT a static course, updates are made several times a month, with new lectures and challenge problems added on a continual basis.

Course Information


C# is a programming language developed by Microsoft. C# has power of C++ since it's derived from C and C++. It is simpler than Visual Basic. Besides that, C# is a Java like language for web programming. Microsoft says, that C# is the best language to develop its .NET Framework applications.

Course Specifics Part 1 ... What You Need

Here's what you need: 

Visual Studio Express 2015
Course Demos

Course Specfics Part 2 ... What you are going to Learn

Here is what you are going to learn... lots of practical applications.. here is a sampling

  • create a computerized cash register for a cafeteria
  • create a computerized sign in system for a doctors office
  • create a chart that converts Fahrenheit to Celsius
  • create a program to accept student marks and determine the overall class average and the highest and lowest marks
  • create a program that sorts numbers/names in order
  • create a program which determines whether a person is eligible for a credit card based on a scoring system
  • create a program that determines whether a credit card is valid or not
  • create a program that plays the card game War
  • create a program which displays a bar chart of sales over a period of years
  • create a "etch a sketch" type blackboard drawing program
  • create a simple object animation then use that as the basis for a car race game
  • create a slot machine game
  • create a falling objects game ... move an object around with the keyboard and catch objects falling from the sky for points.
  • create a space shooter game
  • ...... Now its your turn !

The Basics

Introduction to C# Creating Your First App Part 1 ... The VS 2015 Enviroment

In this Lecture we will

  • Become acquainted with the Visual Studio C# Express environment
Introduction to C# Creating Your First App Part 2 ... Creating a Simple App

In this Lecture we will

Create your first Windows Applications using various user interface controls

  • labels
  • textboxes
  • buttons
  • pictureboxes
User Interface Controls and Events Part 1 ... Using Radio Buttons

In this Lecture we will

  • Become acquainted with naming conventions for the interface controls
  • Use radiobuttons in a simple application
User Interface Controls and Events Part 2 ... Using Scroll Bars and Menu Control

In this Lecture we will

  • Use Scroll Bars and the NumericUpDown control
  • Use the menu control
  • Work with multiple forms
User Interface Quiz

A recap of some of the concepts covered in creating your first app and using a number of the key controls like the text box , command button and picturebox.

Entering and Outputting Data Part 1 ... The Concept of Computer Storage

In this Lecture we will

  • Become acquainted with the concept of computer storage
  • Use variables and data types (int,double/string)
  • Work with assignment statements
  • Create a simple program which uses assignment statementsl
  • Discuss the scope of variables
Entering and Outputting Data Part 2 ... Math Operators

In this Lecture we will

  • Work Arithmetic operators
  • Learn about the Math class (so we can calculate square roots and powers.
  • Learn to use the modulus operator % and integer arthimetic (eg 5/2 doesn't equal 2.5)
  • Learn to cast... and know the difference between (double) 5/2 and (double) (5/2)
  • Learn to convert numbers to strings and strings to numbers
  • Create a simple Bank Savings program

Entering and Outputting Data Part 3 ... Mathematical Applications

In the Lecture we will

  • Learn to reference the Microsoft Visual Basic inputbox
  • Create a program which determines the average of a set of numbers
  • Apply the concepts learnt to solve a number of practical mathematical problems (see Resources)
Entering and Outputting Data Part 4 ... Business Applications

In this Lecture we will

  • Create a practical applications "Venus Motor Sales"
  • Learn to display numbers in currency format
Entering and Outputting Data Part 5 ... Your Turn

In this Lecture we will

  • Practice what you have learned by trying the MathAppProblem (located in resources)
Entering and Outputting Data Quiz

This quiz recaps variables, assignment statements and mathematical programming

Selection Part 1 ... The IF statement and Boolean Operators

In this Lecture we will

  • Look at IF statement and write programs which utilize this structure.
    • Guessing numbers game
    • Ticket Sales based on age
    • Quiz Marking program
  • Look at relational operators == != > <
  • Look at Boolean operators && ||

Selection Part 2 ... Practical Applications (Utility Bills)

In this Lecture we will

  • Look at a practical application of selective processing by creating a program to calculate a Gas Utility bill which uses tiered pricing.
User Defined Dialogs

In this Lecture we will

  • Look at one of the ways a programmer can create a program that is user-friendly.
    • To achieve this aim will will accept input via a dialog box.
  • Work through examples that obtain input using Built In and User Defined (custom) Dialogs.
Repetition Part 1 ... The While Loop

In this Lecture we will

  • Look at the concept of repetition (another name for loops) and its use in practical applications.
  • Look at the use of the While Loop
  • Look at user controlled repetition
  • Look at counter controlled repetition
Repetition Part 2 ... User and Counter Controlled Repetition Problems

In this Lecture we will

  • work through counter controlled repetition problems
  • work through user controlled repetition problems
  • work through for loop problems
Repetition Part 3 ... Counters and Accumulators

In this Lecture we will

  • Look at the difference between counters and accumulators
  • Create several programs which determine averages
    • using user controlled repetition with an inputbox
    • using a user controlled repetition with a custom dialog
  • Combine our knowledge of Selective and Repetitive programming to create a large scale solution to a averaging problem.

Repetition Part 4 ... The Combo and List Box Controls

In this Lecture we will

  • Look at the Combo box control
  • Look at the List box control
Selection - Repetition Quiz

A recap of "if" statements and loops (while,for) and combo boxes

Problem Solving

The Software Life Cycle ... The 5 Steps

Problem solving has been described as the process of finding certain information that is not known, from a set of information that is known. In other words, problem solving is not an end result but rather a process. The end result is only worthwhile if the process is followed.

Problem solving is also an activity based on logic and, as such, requires some kind of structure to be present to aid us in our quest.

In this Lecture we will

  • look at some fundamentals in the problem solving process, and we will look at a problem solving model to help us as computer programmers - the software life cycle.
  • Thoroughly understand the problem
  • Break the problem down into its component parts
  • Arrange the solution in a clear and systematic way
  • Translate the solution into a computer language

It would be unfair to ask anyone to solve problems without effective tools to help along the way. The nature of programming requires programmers to first solve the problem at hand, then create an ordered set of instructions that will teach the computer how to solve the problem. There are a variety of problem solving models that assist the programmer in the problem solving stage.

In this Lecture we will

  • look at flowcharting a diagram, using symbols and arrows, which describes the solution to a computer problem in a step by step manner.
Error Handling and Debugging

Why do software companies keep sending you updates, patches and fixes?

Computer programs that fail are common. By fail, we mean that a tiny error can cause a program to misbehave or crash. Most users are familiar with "crashing", from our own experience with computers. We have all heard amazing stories about software glitches that cause banks to lose millions or spacecraft to crash.

It may be impossible to guarantee that programs are error-free, but careful programming can help.

A program may encounter problems as it executes. It may have trouble reading data, there might be illegal characters in the data, or an array index might go out of bounds. C# has built in error and exception handling that enables programs to deal with such problems. Programs can recover from errors and keep on running.

In this Lecture we will

  • Look at Syntax errors
  • Look at Run-Time errors
  • Look at Logic errors
Methods Part 1 ... Why use ?

In this Lecture we will

  • Learn why and how to use subroutines or methods.
  • Learn that a method is actually just a small program that can be called from with a program
Methods Part 2 ... Solving Practical Problems

In this Lecture we will

  • Practice using Methods to solve a number of practical problems
Introduction to Files

To this point, all the data that we have used when executing our programs has been entered from the keyboard. Similarly, all the output that has been produced from our programs has been to the screen. We must realize that not all input and output occurs this way, in fact, the majority of input for a computer program comes from data files that are stored on a disk or hard drive. When we create a document in a word processor, we see it on the screen; however, if we want to store that information, so that we can use or edit it at a later date, we must output the data to some secure storage medium. In the next few lessons, we will see how data storage and retrieval works.

Data produced from a program as the result of successful processing, can be output to a file for storage, rather than simply to the screen. Once stored, the data can be accessed for further processing, used as input for programs, searched for specific information, sorted, updated ... you get the idea!

Everyone using a computer deals with files. When you turn on your computer, the computer loads files. When you start a piece of software, the computer loads files. When you type solutions to the questions in this unit and save them (hopefully), the computer is saving or writing to a file. We use files to store information that is not being used by the computer at the present time.

Can you think of any useful program that doesn't use files? Files are a very important concept to understand, because any really useful piece of software uses files. Even your video games store your high scores.

In this Lecture we will

  • Learn to read from a data file
  • Look at some simple applications that uses a data file
Summative Programming Problem ... The Forensic Problem

In this Lecture we will

  • Look at how to create a program using what we have learned during this entire section. This will include submitting all the required documentation and code which encompasses the 5 step model of problem solving.
  • Give you a chance to try the 5 step model by solving the Forensic problem.
Problem Solving Quiz

A recap of the software life cycle, methods, and data files.

Object Oriented Programming

Introduction to OOP ... Creating Classes and Objects

In this Lecture we will

  • Introduce you to some of the basic concepts of object oriented programming
  • Learn to differentiate between a class and an object
  • Learn to create a class
  • Learn about fields,properties,methods and constructors
  • Learn how instances are created
  • Create a simple application that use classes
Intermediate OOP ... Encapsulation and Inheritance

In this Lecture we will

  • Review the basic concepts of classes,objects,fields,properties,methods and constructors
  • Look at the concept of encapsulation
  • Look at the concept of Static Methods
  • Look at method overloading
  • Look at the concept of inheritance
Object Orient Programming Quiz

A recap of beginner OOP concepts


Introduction to String Functions

In this Lecture we will

  • Be introduced to String class methods
  • Determine the length of a string of text
  • Extract a subset of characters from a string of text
  • Create a program that performs a letter count
String Accumulators and Concatentation

In this Lecture we will

  • Introduce the concept of String accumulators and concatenation and show how they can be used to re-form strings and numbers.
  • Discuss the importance of string manipulations in the real world
Code Validations Part 1 ... The Check Digit

In this Lecture we will

  • Introduce you to a practical application of Strings called code validations (in this case business product codes a pre-cursor to Cryptogaphy
Code Validations Part 2 ... The Credit Card Validation Problem

In this Lecture we will

  • Challenge you to create a program which will validate a credit card number
Strings Quiz

A recap of C# String Functions and their applications


Introduction to One Dimensional Arrays Part 1 ... Why Use ?

In this Lecture we will

  • Introduce the concept one-dimensional arrays, which are multi-part variables "buckets" containing other "buckets".
  • Discuss "Why" they should be used
  • Learn how to declare, store , calculate and display the contents of an array structure.
Introduction to One Dimensional Arrays Part 2 ... Theory to Practice

In this Lecture we will

  • Practice the One Dimensional Arrays concepts we learned in the previous lecture
One Dimensional Array Applications ... Class Statistics (Averages/Hi/Lo Marks)

In this Lecture we will

  • Create a one-dimensional array application involving student marks that will determine the average mark and highest/lowest marks
Sorting ... The Bubble Sort

In this Lecture we will

  • Discuss the concept of sorting and why arrays are necessary to create an efficient program.
  • Introduce a number of sorting techniques including the bubble sort.
Advanced One Dimensional Array Concepts ... Array Counters

In this Lecture we will

  • Introduced to the concept of array counters and why they are used.
  • Code a simple application which uses array counters
Introduction to Two Dimensional Arrays ... Why Use ?

In this Lecture we will

  • Introduce the concept of two dimensional arrays. Two dimensional arrays are useful for storing tables of information. They contain rows and columns of data which are the same data type.
  • Discuss where and why they are used.
  • Learn how to declare a two dimensional array, store values inside it, display the contents on screen and perform row and column calculations.
Two Dimensional Array Applications Part 1 ... Quiz Score Analysis

In this Lecture we will

  • Use two dimensional arrays in a practical application We will create a program which performs an analysis of Quiz scores for a number of students and a number of quizzes.
Two Dimensional Array Applications Part 2 ... The Supermarket Problem

In this Lecture we will

  • Give you a chance to test out your skills with a practical problem to try ... "The Supermarket Problem"
Arrays Quiz

A recap of One Dimensional and Two Dimensional Arrays

Probabilistic Simulations

Introduction to Random Numbers Part 1 ... What are Probabilistic Simulations

As our programming experience becomes more complex and detailed, are you taking the time to help others? Do you visit the discussion area regularly to see if you can support those experiencing difficulty? By working and learning together, we can share the challenges as well as the successes.

In this Lecture we will

  • Introduced to the concept of random numbers
  • Discuss where random numbers are used
  • Write some simple application programs to demonstrate the concept.
Introduction to Random Numbers Part 2 ... Modelling Simple Random Events

In this Lecture we will

  • Use our knowledge of Random Numbers to simulate (model) a number of random event problems
Introduction to Random Numbers Part 3 ... Review and Extension

In this Lecture we will

  • Review and extend our knowledge of Random numbers
  • Look at a coin toss problem
  • Look at a dice simulation
Applications of Random Numbers Part 1 ... Plinko Game Simulation

In this Lecture we will

  • Create a simple Math Game simulation
  • Create the game Card Wars
  • Create an simple probabilistic simulation of a pinball game (similar to the plinko game on the Price is Right).
Applications of Random Numbers Part 2 ... Shooting Gallery Simulation

In this Lecture we will

  • Practice what we have learned using random numbers and simulate a Shooting Gallery Game.
Random Selection Without Duplication ... Casino Roulette Game

In this Lecture we will

  • Introduce to the concept of random selection without duplication. This involves games where repetition of winners is not allowed.
  • Create an application (prizes) which utilizes the concept
Discrete Random Distributions ... Dartboard Problem

In this Lecture we will

  • Introduce to the concept of building discrete random distributions
  • Create an application which utilizes the concept
Probabilistic Simulations Quiz

A recap of random numbers and their applications to game simulations


Introduction to Graphics Part 1 ... The Graphics Class

In this Lecture we will

  • Learn about the graphics coordinates of the screen
  • Learn how to access (instantiate) and use the C# graphics class to draw lines,rectangles,ellipses and load images from a file
  • Create a simple dice roll graphical simulation
Introduction to Graphics Part 2 ... Drawing on a Panel

In this Lecture we will

  • Learn how to draw on a Panel control
  • Learn how to create any color using Color.FromArgb
Creating Bar Charts Part 1 ... The Concept of Scaling

In this Lecture we will

  • use our knowledge of graphics and arrays to create a bar chart.
  • Learn about the concept of scaling
Creating Bar Charts Part 2 ... Dice Roller Histogram Problem

In this Lecture we will

  • put to use our knowledge of scaling and bar chart creation to display a histogram of an event involving rolling dice.
Mouse Events ... Creating an Etch A Sketch Program

In this Lecture we will

  • Learn about the Mouse Events MouseDown, MouseUp and MouseMove
  • Write several programs that incorporate mouse movement including a drawing program.
Graphics Intro Quiz

A recap of C# Graphics Basics, specifically using the Graphics Class

Animations Part 1 ... Timers and Image Arrays

In this Lecture we will

  • Learn what timers are and how to use them
  • Learn how to use an array of images
    • using images placed in pictureboxes on the form
    • using images stored in an external files
Animations Part 2 ... Creating Your Own Animations

In this Lecture we will

  • Learn how to extract frames of images from animated gifs that can be used in your animations
  • Learn to create (draw) your own images that will become the individual frames of your animation
Animations Part 3 ... Sample Application - Slot Machine Game

In this Lecture we will

  • Look at two applications of in place computer animation
  • Look at the Dice Roll Game
  • Look at the Slot Machine Game
Animations Part 4 ... Moving Object Across the Screen using .Left and .Top

In this Lecture we will

  • Make our objects move across the screen using the .Top and .Left properties
  • Discover how to check for the screen edges (top,bottom,left and right)
  • Discover how to make an object bounce off the wall or reappear around the other side

Animations Part 5 ... The Car Race Challenge

In this Lecture we will

  • Give you the challenge to create a simple two car race ... with some hints (help) of course !
Animations Part 6A ... Using the DrawImage command

In this Lecture we will

  • Learn about another way to move objects across the screen using the DrawImage command

Animation Part 6B ... Adding Transparency to Images

In this Lecture we will

  • Learn how to create transparent gifs/png
Animations Part 7 ... Collision Detection and Keyboard Events

In this Lecture we will

  • Learn about the 4 requirements for collision
  • Learn how to detect keyboard events using the KeyDown Event
  • Create a simple application to implement both of these concepts
Animation Part 8 ... No Picture Boxes just Image Files

In this Lecture we will

  • Learn how to animate without using pictureboxes
  • Learn that everything is an image object including the background
  • Learn that instead of wiping the screen with the backcolor we now redraw the background graphic over the current state of the animation
Animation Part 9 ... Sounds Effects using System.Media and Media Player

In this Lecture we will

  • Learn how to incorporate sound into a C# program
  • Learn how to use two techniques to create sound , the System.Media technique and using the Windows Media Player
Animation Part 10 ... Falling Objects Game

In this Lecture we will

  • Learn how to create a simple Falling Objects game
  • Learn how to incorporate image arrays for the falling objects to reduce coding
  • Leave you with the challenge to create your own falling objects game
Advanced Animations Part 1 ... Double Buffering

In the Lecture we will

  • Learn to use some advanced animation techniques including using "double buffering" to reduce screen flicker during game creation
  • Create some simple animations incorporating double buffering
Advanced Animations Part 2 ... The Mouse , Panels and Double Buffering

In this Lecture we will

  • Learn to use the mouse with double buffering
  • Learn about double buffering on a panel
Advanced Animations Part 3 ... Creating a Game - The Basic Game Loop

In this Lecture we will

  • Learn about the basic game loop
    • While (game is runing)
      • check for input (keyboard/mouse)
      • update all objects in the game (position)
      • draw all the objects in the game
      • refresh the screen (force a repaint)
  • Work through several sample games making incremental improvements as we go along
Advanced Animations Part 4 ... The Space Shooter Game ... Now Your Turn

In this Lecture we will

  • Create a Space Shooter Game
  • Leave you with the challenge to create your own game
Animation and Game Development Quiz

Our final recap covers basic animation with timers and arrays right through to double buffering (back buffering).

The Final Exam
The Wrap Up ... Where do you go from here ?

In this Lecture we will

  • Recap course content
  • Discuss appropriate content for future learning

... Coming Jan 2018 .... A Gentle Introduction to Game Development using C# and Monogame

Programming Challenges

Introduction to Programming Challenges

In this Lecture we will:

  • Introduce the format of the Programming Challenges 
    • A problem is posed from a variety of disciplines
    • Each problem involves loading in a data file which will be used in the solution to the problem. The name of the required text file is clearly indicated in each question
    • Some sample data and corresponding output is provided as a guide
    • Two more complicated data sets are also provided to make sure the solution works
Challenge 1

In the Lecture we will challenge you with the: "Four In A Row" Problem


Given a positive integer, tell whether it is equal to the sum of four consecutive integers.

Challenge 2

In the Lecture we will challenge you with the: "Anything you can do , I can do better"  Problem


You have a colleague that is extremely competitive and always tries to “top” one of your stories. If you say your car is fast, your colleague will say his or her car is faster. If you say your car is faster, your colleague will say his or her car is fastest. After a few such conversations, you realize that you can always predict what your colleague will say next.

To demonstrate how annoying this is, you decide to write a program that can accurately predict the responses of your colleague. Your task is to write this program. Specifically, given any adjective, your program will return its comparative form by appending “er” to it. Note that if the adjective already ends in “e”, you should only append “r”. If your program is given an adjective already in its comparative form, your program should return the superlative form of the adjective created by simply replacing the “er” with “est”. Your program should consider any string that ends in “er” to be an adjective in comparative form.

Challenge 3

In the Lecture we will challenge you with the: "Crashing Words" Problem


Two words of the same length, which have the same letter in the same position are said to crash. For example, the words CRUSH and BURST have length five and have S in the fourth position. Write a program to read two words at a time from a data file called words.txt. You may assume the words are the same length and are in upper case. If the words do not crash, a message is printed out in the top left hand corner of the screen. If, however, the words crash, the word, which comes first in alphabetical order, will be printed vertically starting on the first row of the screen and the other word will be printed horizontally starting in the first column of the screen so that the words intersect at the first crash location.

Challenge 4

In the Lecture we will challenge you with the: "Add Times" Problem


In this problem we are going to represent time in the format days hours minutes. So, using a 24hr clock , 3 15 45 would mean 3 days 15 hours and 45 minutes.
You are to write a program that reads in pairs of times in this format then outputs the sum of the times. 

For example: Let's say the first time is 3 15 45 and the second time is 2 12 35. Then the required sum is 6 4 20 ( 6 days 4 hours 20 minutes).

Challenge 5

In the Lecture we will challenge you with the: "Waiting Long" Problem


Do you ever get tired of waiting for something to happen? The Gotta-Have-It Gadget Company thinks there is a market for a small device that can tell you how long you have been waiting. In its normal mode, it simply counts the minutes from start to stop. In the advanced mode, you can enter a start time and a stop time and it will tell you how many minutes have elapsed.

The Gotta-Have-It Gadget Company has hired you to program the advanced option. You are to write a program that will accept two times and determine how much time has transpired between them. Times will be entered in a 24-hour format. The first time will always be before the second time (but it may be larger - from 21:01 to 7:11 is 590 minutes). Your input will be the times in hours and minutes (HHMM - 21:01 would be 2101 for input). Your program should stop when the start time is 0. One minute after midnight would be represented as 1 (0 hours).

Challenge 6

In the Lecture we will challenge you with the: "It's All Good " Problem


Jimmie Flowers, known as Agent 13 is back!. However, he has a secret that until now nobody has noticed (although we aren't sure how we missed it!). Jimmie can't stand to have objects that are not properly aligned. If any object is slanted, he feels compelled to adjust that object.

Jimmie needs your help, though! He wants you to take bricks (which we will represent by just one of their edges) and determine if they are slanted or not. 

The Problem:
Given two unique points on a line, determine if the line is a horizontal or vertical line.

Challenge 7

In the Lecture we will challenge you with the: "Primitive Typewriters" Problem

Challenge 8

In the Lecture we will challenge you with the "Tipping Point" Problem


You are given a common die sitting on a table in a specific orientation. It sits on the table in front of you with a 1 showing on its top face, a 2 showing on its front face, and a 3 showing on its right face. Because the die is ordinary you should know that the total of the numbers on opposite sides of the die add up to 7. Thus the die has a 4 on its left face, a 5 on its back face, and a 6 hidden on its bottom face resting on the table. The die can tip over to reveal a new number based upon the direction of tipping. You can tip the die AWAY, TOWARD, LEFT or RIGHT. 

Given the initial die configuration and a sequence of tip instructions, you must determine the number that remains on the top face of the die after all tips have been completed.

Challenge 9

In the Lecture we will challenge you with the "Square The Word"  Problem


Read a word and create a square pattern as follows:
a) From the top left corner the word reads left to right
b) From the top left corner the word reads top to bottom
c) From the bottom right corner the word reads from bottom to top
d) From the bottom right corner the word reads right to left

Challenge 10

In the Lecture we will challenge you with the Credit Card  Problem


The Luhn algorithm, also known as the "modulus 10" or "mod 10" algorithm, is a simple checksum formula used to validate a variety of identification numbers, such as credit card numbers. The formula verifies a number using its included check digit, which is usually appended to a partial account number to generate the full account number. This account number must pass the following test:

1. Counting from the rightmost digit (which is the check digit) and moving left, double the value of every even-positioned digit (note: The first position/digit is considered in
position 0 a even position) . For any digits that are doubled and become 10 or more, take the two numbers and add them together. For example, 1111 becomes 2121, while 8763 becomes 7733 (from 2×6=12 → 1+2=3 and 2×8=16 → 1+6=7).

2. Add all these digits together. For example, if 1111 becomes 2121, then 2+1+2+1 is 6; and 8763 becomes 7733, so 7+7+3+3 is 20.

3. If the total ends in 0 (put another way, if the total modulus 10 is congruent to 0), then the number is valid according to the Luhn formula; else it is not valid. So, 1111 is not valid (as shown above, it comes out to 6), while 8763 is valid (as shown above, it comes out to 20).

Create a program that takes its input from a data file called credit.txt which will consist of a list of credit card numbers. Determine if the number is correct according to the Luhn algorithm.

Challenge 11

In this Lecture we will challenge you with the  Time Clock Problem


You need to compute the total time a worker has worked on a single calendar day given two time stamps of the form “HH:MM”. The numbers MM can be in the range of “00” to “59” while HH is in the range “01” through “12”. This is an archaic time stamp clock that doesn’t even record AM or PM values. The system has worked well in the past because no-one has ever worked longer than an 8 hour shift.

You can be assured that the two times are different and represent an employee checking in to work (on a calendar day) and checking out from work later on the exact same calendar day. You are to output the total time as “HH:MM”. If the accumulated work time is greater than 8 hours (in other words, 481 minutes or longer), then you are ordered to output “08:00” because this is the maximum time that the employee would be paid.
For example, given time stamps of “09:13” and “04:42” the total reported working time is reported as “07:29”.

You can view and review the lecture materials indefinitely, like an on-demand channel.
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don't have an internet connection, some instructors also let their students download course lectures. That's up to the instructor though, so make sure you get on their good side!
4.6 out of 5
223 Ratings

Detailed Rating

Stars 5
Stars 4
Stars 3
Stars 2
Stars 1
30-Day Money-Back Guarantee


18 hours on-demand video
43 articles
Full lifetime access
Access on mobile and TV
Certificate of Completion