Code Monkey home page Code Monkey logo

ce101-c's Introduction

C101

Introduction

Feel free to visit and use some sample codes and homeworks problem source codes in C and GoLang for the Introduction to Programming course at the Amirkabir University of Tech. under supervision of Prof. Bakhshi.

For homework problems and more materials about the course see here.

Thanks to Quera for supporting our course!

Trello boards

Requirements

Source codes of Homework are written in Go and C. Documentations are in Word and needs Sahel and Vazir fonts.

Problem Structure

Each problem have the following structure:

HW-1\
    |
    |- p1\
    |    |
    |    |- p1.md
    |    |- p1.go
    |    |- tc\
    |    |     |- in
    |    |     |- out
    |
    |- p2\

p.sh creates the zip file that can be uplaoded to Quera website based on the above structure. It feeds the inputs from in folder into p.go then puts the results into out folder.

If there is a file with generator.go name in tc folder the p.sh use it to generate the test cases into in folder.

package main

import (
	"fmt"
	"math/rand"
)

func main() {
	fmt.Printf("%d %d;", 1, 10)
	fmt.Printf("%d %d;", 5, 10)

	for i := 0; i < 20; i++ {
		m := rand.Intn(100)
		n := rand.Intn(m)

		fmt.Printf("%d %d;", n, m)
	}
}

Topics

  • Lecture 3: Basic C Programming
  • Lecture 4: Calculations
  • Lecture 5: Interaction
  • Lecture 6: Making Decisions
  • Lecture 7: Repeating Statements
  • Lecture 8: Functions
  • Lecture 9: Arrays
  • Lecture 10: Pointers & Dynamic Memory
  • Lecture 11: Structures
  • Lecture 12: Files
  • Lecture 13: Miscellaneous

Assignments

  • HW1: Algorithm Design

  • HW2: Caculation (with an introduction to math.h) and Interaction (scanf() and printf())

  • HW3: Decision Making

  • HW4: Loops

  • HW5: Functions

  • HW6: Mid-Term Project

  • HW7: Pointer, Structs and Files

Exercises are categorized by topic and semester order in this link

The difficulty of each question from 10 and terms that contain the question are included in the sheet along with their link.

Workshops

  • Introduction-1
  • Introduction-2
  • Algorithm
  • Algorithm
  • I/O, Calculation
  • Decision
  • Loop
  • Midterm Review
  • Git
  • Arrays & DP
  • Pointers
  • Pointers and Arguments
  • Linked Lists & Structs

Teaching Assistants over Semesters

Fall-2014

Fall-2015

Fall-2016

Fall-2017

Fall-2018

Spring-2019

Fall-2019

Spring-2020

Fall-2020

ce101-c's People

Contributors

1995parham avatar amirparsa-sal avatar ehsansouri23 avatar eljalalpour avatar mahlashrifi avatar mina-beiki avatar mmdaz avatar mrmim77 avatar parsaaes avatar pmoonesi avatar salinaria avatar sepehr1812 avatar smf8 avatar tabrizian avatar

Forkers

salinaria

ce101-c's Issues

categorizing questions

This issue is for organizing and categorizing the homework questions of the basics programming course of previous years.
First, the questions are filled in the sheet and after completing each topic relevant md file should be update . ( 4 terms is going to be check : Fall-2015 / Fall-2016 / Fall-2017/Fall-2020 )

Descriptions :
Each checked file means that the corresponding question is entered in the sheet

Fall-2015

  • HW-3

    • P1
    • P2
    • P3
    • P4
    • P5
  • HW-4

    • P1
    • P2
    • P3
    • P4
    • P5
    • P6
    • P7
  • HW-5

    • P1
    • P2
    • P3
    • P4
    • P5
  • HW-7

    • P1
    • P2
    • P3
    • P4
    • P5

Fall-2016

  • HW-1

    • P1
    • P2
    • P3
    • P4
    • P5
    • P6
    • P7
    • P8
  • HW-2

    • P1
    • P2
    • P3
    • P4
    • P5
    • P6
  • HW-3

    • P1
    • P2
    • P3
    • P4
    • P5
    • P6
  • HW-4

    • P1
    • P2
    • P3
    • P4
    • P5
    • P6
  • HW-5

    • P1
    • P2-a
    • P2-b
    • P3
    • P4
    • P5
    • P6

Fall-2017

  • HW-2

    • P1
    • P2
    • P3
    • P4
    • P5
    • P6
  • HW-3

    • P1
    • P2
    • P3
    • P4
    • P5
  • HW-4

    • P1
    • P2
    • P3
    • P4
    • P5
  • HW-5

    • P1
    • P2
    • P3
    • P4
    • P4
    • P5
    • P6
  • HW-7

    • P1
    • P2
    • P3
    • P4
    • P5
    • p6

Fall-2019

  • HW-0
    • P1
    • P2
    • P3
    • P4
    • P5
    • P6
    • P7
    • P8
    • P9

Fall-2020

  • HW-1

    • P1
    • P2
    • P3
    • P4
    • P5
    • P6
    • P7
  • HW-2

    • P1
    • P2
    • P3
    • P4
    • P5
    • P6
    • p7
    • P8
    • P9
  • HW-3

    • P1
    • P2
    • P3
    • P4
    • P5
    • P6
    • p7
    • P8
  • HW-4

    • P1
    • P2
    • P3
    • P4
    • P5
  • HW-5

    • P1
    • P2
    • P3
    • P4
    • P5
  • HW-6

    • P1
    • P2
    • P3
    • P4
    • P5

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.