Intro to C#. Programming Coverage Methods, Classes, Arrays Iteration, Control Structures Variables, Expressions Data Types.

Slides:



Advertisements
Similar presentations
Dr. Ken Hoganson, © August 2014 Programming in R COURSE NOTES 2 Hoganson Language Translation.
Advertisements

CSCE 145: Algorithmic Design I Chapter 1 Intro to Computers and Java Muhammad Nazmus Sakib.
Lecture 0 CSIS10A Overview. Welcome to CSIS10A (5 mins) – Typical format for class meetings New material first (monitors off, notebooks out) Practice.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design First Edition by Tony Gaddis.
1 Lecture 1  Getting ready to program  Hardware Model  Software Model  Programming Languages  The C Language  Software Engineering  Programming.
Computing Components 01/26/11. Announcements & Reminders Programs 1 due Friday, 9/2/11 What is my late policy? Proxy Codes for Labs  You should be able.
Bellevue University CIS 205: Introduction to Programming Using C++ Lecture 1: Getting Started by George Lamperti & BU Faculty.
Using the Java programming language compiler. Review of relevant material from previous lectures From previous lectures: A computer can only execute machine.
Software design and development Marcus Hunt. Application and limits of procedural programming Procedural programming is a powerful language, typically.
CS190/295 Programming in Python for Life Sciences: Lecture 1 Instructor: Xiaohui Xie University of California, Irvine.
Why Program? Computer – programmable machine designed to follow instructions Program – instructions in computer memory to make it do something Programmer.
Chapter Introduction to Computers and Programming 1.
Introduction to Programming Dr Masitah Ghazali Programming Techniques I SCJ1013.
CSC 142 A 1 CSC 142 Introduction to Java [Reading: chapter 0]
1. Fundamentals of Computer Systems Define a computer system Computer Systems in the modern world Professional standards for computer systems Ethical,
COMPUTER SOFTWARE Section 2 “System Software: Computer System Management ” CHAPTER 4 Lecture-6/ T. Nouf Almujally 1.
CSC300 Visual Programming Dr. Craig Reinhart. Objectives Teach the basics of C++ –You won’t be an expert but hopefully a very good novice –GUI development.
Lecture Set 1 Part B: Understanding Visual Studio and.NET – Structure and Terminology 1/16/ :04 PM.
Copyright © 2009 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1: Introduction to Computers and Programming.
Copyright © 2012 Pearson Education, Inc. Chapter 1 Introduction to Computing and Programming.
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley C H A P T E R 1 Introduction to Computers and Programming.
What is a Computer? An, electrical machine, that can be programmed to accept data (input), process it into useful information (output) and store it away.
Introduction to Computing Hardware & Software. INSIDE THE COMPUTER Hardware Physical components of the computer. Any part that you can see and touch Examples:
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 1 Introduction to Computers and Programming.
The Beauty and Joy of Computing Lecture #3 : Creativity & Abstraction UC Berkeley EECS Lecturer Gerald Friedland.
Fundamental Programming: Fundamental Programming K.Chinnasarn, Ph.D.
Mrs. Ulshafer August, 2013 Java Programming Chapter 1.
The Central Processing Unit (CPU) and the Machine Cycle.
OOP with Java, David J. Barnes Bits, Bytes, and Java1 The Challenge Writing programs well is a challenge. –From coder to software engineer. We want programs.
Copyright © Mohamed Nuzrath Java Programming :: Syllabus & Chapters :: Prepared & Presented By :: Mohamed Nuzrath [ Major In Programming ] NCC Programme.
Exam Format  105 Total Points  25 Points Short Answer  20 Points Fill in the Blank  15 Points T/F  45 Points Multiple Choice  The above are approximations.
CS 1428 Foundations of Computer Science I. Two Main Components  Hardware  Physical media that uses electrical current to process instructions.  Software.
CS 1308 Exam 2 Review. Exam Format 110 Total Points 24 Points Short Answer 28 Points Fill in the Blank 16 Points T/F 36 Points Multiple Choice The above.
Lecture Set 1 Part B: Understanding Visual Studio and.NET – Structure and Terminology 1/16/ :04 PM.
Introduction  Program: Set of sequence instruction that tell the computer what to do.  Software: A collection of programs, data, and information. 
Representation of Data - Instructions Start of the lesson: Open this PowerPoint from the A451 page – Representation of Data/ Instructions How confident.
Review A program is… a set of instructions that tell a computer what to do. Programs can also be called… software. Hardware refers to… the physical components.
Introduction to Programming Visual Basic.NET CS A109.
Programming with Java. Chapter 1 Focuses on: –components of a computer –how those components interact –how computers store and manipulate information.
CIT 140: Introduction to ITSlide #1 CSC 140: Introduction to IT Operating Systems.
Chapter 3 Getting Started. Copyright © 2005 Pearson Addison-Wesley. All rights reserved. Objectives To give an overview of the structure of a contemporary.
Installing Java on a Home machine
BASIC PROGRAMMING C SCP1103 (02)
Computer Organization, Eclipse Intro
Topics Introduction Hardware and Software How Computers Store Data
Foundations of .Net Programming with C#
A Closer Look at Instruction Set Architectures
BASIC PROGRAMMING C SCP1103 (02)
Introduction
Introduction to .NET Framework Ch2 – Deitel’s Book
Course: Introduction to Computers
CE-105 Spring 2007 Engr. Faisal ur Rehman
Data Representation – Instructions
Module 1: Getting Started
CS 1308 Exam 2 Review.
Assembler, Compiler, Interpreter
CS190/295 Programming in Python for Life Sciences: Lecture 1
Installing Java on a Home machine
CSCI 3328 Object Oriented Programming in C# Chapter 1: Introduction to C# UTPA – Fall 2012 This set of slides is revised from lecture slides of Prof.
Advanced Programming: C# Lecture 01: Introduction
Lesson Objectives Aims Key Words Compiler, interpreter, assembler
Topics Introduction Hardware and Software How Computers Store Data
Introduction to Computer Software
Low Level Programming Languages
Assembler, Compiler, Interpreter
How Computers Work Part 1 6 February 2008.
All assignments and information is posted on web site
CSC 142 Introduction to Java [Reading: chapters 1 & 2]
CS 1308 Exam 2 Review.
Presentation transcript:

Intro to C#

Programming Coverage Methods, Classes, Arrays Iteration, Control Structures Variables, Expressions Data Types

Course Design Instead – Lecture not a rehash of the book but covers same concepts from a different perspective – Lots of hands-on activities – Attempt at relevance

Bend Your Brain Into Submission 1.Slow down. The more you understand the less you have to memorize. 2.Do the books exercises. Write your own notes. 3.Make this the last thing you read before bed, or the last challenging thing. 4.Drink lots of water.

Bend Your Brain Into Submission 5.Talk about it. Out loud. 6.Listen to your brain. Pay attention when it feels overloaded or you find yourself skimming. 7.Feel something. Your brain needs to feel that it matters. 8.Write a lot of software!

Intro to Computing (From C# Software Solutions)

The CPU Fetches instructions from main memory Carries out the operations commanded by the instructions Each instruction produces some outcome A program is an entire sequence of instructions Instructions are stored as binary numbers Binary number - a sequence of 1s and 0s

Main Memory – a big list of addresses

The Fetch-Decode Execute Cycle

Bit: smallest and most basic data item in a computer; represents a 0 or a 1 Byte: a grouping of eight bits – E.g., – What does this represent? Word: a grouping of one or more bytes Knowing About: Computer Hardware

Bits could represent characters

We said that could represent anything, a number, sound, color, etc. Bits could represent sound

Layers of Programming Languages A program called a compiler translates from high-level to machine language

Operating System Applications BIOS CPU Layers of Software Systems

The.NET Platform C#.NET is in a sense one step removed from a typical high- level language C# runs using a Virtual Machine or Common Language Runtime – The physical computer simulates a virtual computer that runs your program.NET Software.NET Program

Why a virtual machine? More robust to failure – Bad programs crash the virtual machine, not the real machine Easier to deploy software written for the virtual machine – If a virtual machine exists for Macs or Linux or Windows, then the same program can run anywhere (not the case yet for C# but same idea with Java)

.NET Framework Framework Class Library ADO.NET Network XML Security Threading Diagnostics IO Etc. Common Language Runtime Memory Management Common Type SystemLifecycle Monitoring C# VB.NET C++.NET Other Operating System VisualStudio.NETVisualStudio.NET Common Language Specification Windows Forms ASP.NETASP.NET Web Services ASP.NET Application Services Web FormsControlsDrawing Windows Application Services

C# Demonstration How to start Visual Studio – Create a new project – Add textboxes, labels, buttons – Adjust font properties, colors – How to run your project Where to find your files and compress them into a zip file (for submitting homework) How to open your saved project (double-click the.sln file)