CSE 506 Lab 4

July 30, 2017
By shp

Problem #1 Write· a program to read one of the hex digits A-F, and display it on the next line in decimal. Sample execution: ENTER A HEX DIGIT: C IN DECIMAL IT IS 12 Problem #2 Write a program to display a 10 x 10 solid box of asterisks. Hint: declare a string in the

Continue Reading

CSE 506 Lab 3

July 24, 2017
By shp

Problem #1 Write an assembly code that will take a lowercase character input and convert it to uppercase The code is as follows TITLE Lower_letter_to_upper .MODEL SMALL .STACK 100H .DATA CR EQU 0DH LF EQU 0AH MSG1 DB ‘Enter the letter in lower case : $’ MSG2 DB 0DH,0AH,’In upper case is: ‘ CHAR DB

Continue Reading

Starting with building circuit

July 22, 2017
By shp

If you are fairly new to building a circuit on a breadboard, you may face difficulty in EEE labs. Few years back i wrote a series of blog post on absolute basic to starting to build circuits. I hope these can help you if you find it difficult to build a circuit in a breadboard.

Continue Reading

Programming Books

July 19, 2017
By shp

These books are easy to follow and can help you to master your programming skills. Schaums outline programming with c Teach yourself c++ C in 7 days   Here are some of the websites i think can also help you http://dimikcomputing.com/ http://aelinik.free.fr/c/

Continue Reading

EEE 306 Lab 2 : Taylor’s error

July 19, 2017
By shp

Problem#1 Find the sum of the n terms for the sequence 1/(x^n) Input: x n output: Term_no sum for all term leading to n Example input: Example Output:   Problem#2 Find the approximation of e^x using maclaurin series for %Ea <n% Input: x n Output: interation_no approximation %Ea for every iteration Example input: 0.5 0.0001

Continue Reading

CSE 505 Assignment 1

July 18, 2017
By shp

For Assignemnt 1 you have to answer all the questions in lecture 0 to lecture 2. Only PDF files are allowed for Submission and without proper naming of the file may not make your assignment be counted for the final tally. You have to name the file accordingly like the example below cse_506_assignment_1_20143315**.pdf replace **

Continue Reading

CSE 506 LAB 2

July 17, 2017
By shp

Assembly Code to print a string .MODEL SMALL .STACK 100H .DATA ; CR EQU 0DH ; LF EQU 0AH ; MSG db CR, LF, ‘Hello: $’ .CODE ; MAIN PROC ;MAIN PROCEDURE ; CODE SEGMENT MOV AX,@DATA ; MOV DS, AX ; LEA DX, MSG ;Print hello mov ah,9 int 21h MOV AH, 4CH ;Exit

Continue Reading

EEE 306 Lab 1 : Sea(C) is full of fun

July 16, 2017
By shp

Lab 1 consisted of 3 basic c programming problems and a basic introduction to MATLAB. Write a c program to find factorial of a number using recursion. Take a string input and output the reversed string. [Try not to use string library] Take an input n and show a horizontal pyramid eg. n=3 1 22

Continue Reading

CSE 305 Assignment 1

July 15, 2017
By shp

For Assignemnt 1 you have to answer all the questions in lecture 0 to lecture 2. Only PDF files are allowed for Submission and without proper naming of the file may not make your assignment be counted for the final tally. You have to name the file accordingly like the example below cse_306_assignment_1_20153315**.pdf replace **

Continue Reading