Code Monkey home page Code Monkey logo

electricalprogrammingcourse2020's Introduction

Hi there, I am Dahab! ๐Ÿ‘‹

My work github account is HERE

  • ๐Ÿ”ญ Iโ€™m currently working on AWS and React
  • ๐Ÿค” Iโ€™m interested in 3D machine learning and NLP
  • ๐Ÿ‘ฏ Iโ€™m into research and would love to collaborate on any Computer Science papers
  • โ™ฆ๏ธ Fun fact: I can do card magic!
  • ๐Ÿ‘‘ Another fun fact: My name is the literal translation of the word Gold in Arabic (Dahab=ุฐู‡ุจ)

Dahab's github stats

Top Langs

electricalprogrammingcourse2020's People

Contributors

goldshakil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

lilacthegreat

electricalprogrammingcourse2020's Issues

[Others] about my score assigned to assignment1 & late submission

I just confirmed that my assignment 1 has a score of zero, and I'm leaving a comment to ask if I can correct the task if it's because of the contents. Assignment2 was not submitted by the 29th due to a mistake, but I'd like to ask if the late submission project has any impact. There was a mistake on the date of the assignment, and I think there was a mistake because it was so new and awkward about the situation I'm going through. I will never let this happen again, and I'm sorry and ashamed that I'm the only one who seems to be doing this and causing this problem. Thank you for reviewing it.

Assignment3 Lecture 3 slides 42 justification

In slide 42, the numbers in output are right justified,
but the code was
printf("%4d", y);
So I think it is left justified.
My output and slide's output is little bit different.
Just write same with slide or change it %4d to %-4d?

Thank you.

about name of the file

Dear TA
When I submit my assignment 2, even if I write the right form of file name as 2017000000.c, after submission, additional number followed as 2017000000-1.c. (I think its because it influenced by already uploaded files) Doesn't it matter for grade even if I ignore it?

Assignment's question3

user input two numbers and perform shift left and shift right
Does it mean a<>b
or just a<<(some integer), a>>(some integer), b<<(some integer), b>>(some integer)

about Assignment Lecture 3

Q1 :
In the Lecture 03 material, the codes of case sudies for more practice (p.68~78) are included in the Assignment Lecture 3 ?

Q2 :
In 3th week online lecture, professor showed some codes which are not in the Lecture 03 material. are they included in the Assignment Lecture 3 ?

About assignment

Hello professor. I'm really hoping to attend a face-to-face lecture as soon as possible. Anyway, doing assignment, I have a question about it.

For question:5, I wonder if number which has 8 bits means decimal or binary. Thank you.

can i use <Windows.h> header for using system("pause");?

What i'm using for doing homework with is visual studio 2019 and
whenever i try to use system("pause") only with header <stdio.h>, the program shows error that
system("pause") is not defined .
(I've been using both of visual studio 2010 and 2019 from now on and I've used the header <Windows.h>for using system("pause"); especially when i use 2010 ver. and it works well on both of them)

Can i use the header for my homework ? Is it okay to use the header that professor hasn't mentioned before?

Plz. i already submitted most of assignments .....

about the code

while (1)
{
    printf("For  first :");
    scanf("%lf %lf %lf", &a1, &b1, &c1);
    if (a1 || b1 || c1 <= 100)
        break;
}

why the if statement is not working and a1, b1, c1 can get greater than 100?

and

track1:
a1, b1, c1 = 0;
printf("For first :");
scanf("%lf %lf %lf", &a1, &b1, &c1);

if (a1 || b1 || c1 > 100)
{
    printf("Scores couldn't be greater than 100.\n");
    goto track1;
}

When i give a1, b1, c1 less than 100 but why the if statement is working??

Are extra comments explaining the significant parts of the code necessary?

I am a newly enrolled student to this class, and trying hard to catch up as fast as I can.

I've looked through the notifications on icampus, and the issues on github. I now see that we have to use /**/ to "comment-ize" the several codes and write it on to a single file, but I am not sure if the codes are the only things needed in the file, or additional comments explaining the codes are needed too.

assignment 3

I couldn't understand what professor said in lecture 3 slide67...
He told us not to do '2 to power n' and solve it as an exponential.
I don't know what the exact question is, and what was the meaning of "5e-1" which professor wrote on the slide.
Can you explain how can I solve this assignment?
Thankyou :)

about assignment code file format

Though you announced the format, because I don't know your assignment-checking algorithm, I wonder whether the format like below is fine ( for your convenience and my accuracy ).

  1. all codes are made comments including last code.
  2. all codes have own header_file.

/*
#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>

void main(void)
{
MY_CODE_1
system("pause");
}
/
.
.
.
/

#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>

void main(void)
{
MY _CODE_last
system("pause");
}
*/

About Assignment 2

Question 4 asks Take input as hexadecimal value and display swapped hex value.
I need some examples of input and output. Does it mean just input integer and swap 1st bit and 2nd bit like this 0110>0101 and print in display in hexadecimal type? printf("%x",a);?

Question about Assignment 2

Dear TA,
I got a question regarding question 4 for assignment 2. I want to ask that 1st and 2nd bit is including or excluding sign bit.

About format of code

Dear T.A
I used this format to assignment-practice problems, but I didn't use it to 'copy code in Lecture ' .
Is it right?

#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
main()
{
//YOUR PROGRAM HERE

system("pause");

}

Assignment File Name

Hi, I notice that even though I saved file name as my student no., but I found that since its file name is same as previous code file, so canvas changes as 2019XXXXXX-1, 2019XXXXXX-2, 2019XXXXXX-3, and so on. I am asking that it is fine to leave it this way.

about assignment-1

I have some questions about assignment-1.
I saw the answer
"slides 19,24,25,28,50,52,53,55
type in these programs and test their output. Submit your typed code"

It means assignment-1 is just copy&paste?
or for example
at slide 19 do i have to made some easy program?
and also at slide 50 and 52 it means do i mad programs using this materials?
Thanks for reading.

Assignment3 Practice session1

When I convert degrees in radian I need PI. It is not exactly PI but, can I use PI as 3.14? Or, do I need to use M_PI?

About assignment 3

on page 67 of lecture 3 material, there is a blank for making codes to get output. then, i'm wondering that when i submit assignment 3, should i include my own codes? If not, i just check the output after making codes and just skip it?

Question about assignment3-practice session 1

In practice 1 problem is to make a program with a user input radius,but I don't understand what is 'program' means. Is this means we need to make another function (except main function) for coding? or just using scanf for use input radius?

About file name and late submit

Dear TA
I found my file name was wrong about assignment 3, so i want to add a new file that has been renamed.
First time, i submit my file on time. But when i want just add my revise name of the file
i found my assignment is delayed, and my first file is deleted.
what can i do?

Assignment3 Practice session1

problem 2 say make a program which converts polar coordinates to cartesion(also change the angle to degrees)
Does the input of the angle is radian? Then I don't know why I need to change the angle to degrees.

Question for Assignment2's structure

/Question 1s' codes/< examples in lecture 2
/Question 2's code/
/Question 3's code/
/Question 4's code/
/Question 5's code/
Does it look like this?

[Others] about the late submission

Dear TA.
I was unable to submit it by the 29th due to a mistake on the deadline for Assignment2, but I left a question to ask if the assignment was effective even later. Thank you for reviewing it.

about assignment 2

For #5 question, I'm confused about which form of number should be input.
example)

1

input : 120
output : 135
or

2

input : 0111 1000
output : 1000 0111
Thankyou.

Assignment 2 question 4

Example 6 in binary is 0110 -> after swapping 1st and second bit -> 0101 -> 5

Input hexadecimal value : 0x0C ( 0000 1100)
output hexadecimal value after swap : 0x0A ( 0000 1010)

what is right? there are two questions in question4.
Take input number as an integer and display swapped integer output. Is this question needs to swap bits like 0110>0101?
and second hexadecimal questions needs to swap 1110>1010 like this?

About assignment4 practice session2

First, practice 1 is same in assignment3 practice session1- practice3
Should I enter the code one more?

Second, in practice 2, I wonder all parabola forms are quadratic equation for x like y = x^2 + x

Assignment about lecture3 pdf p67

[program to print 'Power of 2' table LOOPS(while,do,for)]
means do I need to use (while,do,for) all 3 of them or just choosing one to make program?

  • also Assignment is to copy all code in lecture3 materials and do 'self study' code also included?

About Online lecture

The student council has announced that experimental subjects are also replaced by online classes.
I want to know surely that including this ElectricalProgrammingCourse2020, there will never be offline lecture or offline meeting or offline exam. Please make the announcement about this, sir. Thank you

issue #13

As T.A said I cannot use structure and any functions which I didn't learn. Then, can I use if clauses? because Assignment2's question 2 needs some if clauses. But, they are not in lecture 2.

about Assignment2 Question5

In this problem, can i think 1111 1111 as 255?
Or should i think 1111 1111 as -1?

In other word, should i use 'char' in this problem? or 'int' is ok.

In Assignment 4 ppt

Dear TA
Isn't practice 1 of assignment 4 same with practice 3 of assignment 3?
One more practice is the assignment, or I have a misunderstanding about assignment.
Thank you, sir

Assignment lecture3_about Self study

Thank you for reading.
I read other issue and i have some questions.
#23 i read this and i think self study is not a assignment.
but #38 self study is also assignment. do i have to typing the code(slides 68~78).
If i have to do this can i get more code for slides 74(Program to draw a histogram).

Assignment 1 page 50 Question

TA,

I saw your answers.
But I have a question about assignments yet.

image
In page 50, under /Computation/ there is no content.
And if I write some dots, they makes some error.
Then don't I have to write them?

#include <stdio.h>

main() /..........Program Name............................../
{
/..................Declaration.........................../
float x, y;
int code;
short int count;
long int amount;
double deviation;
unsigned n;
char c;
/..................Computation.........................../

} /..................Program ends.........................../

Is this completed one?

Thank you

About assignment 3

For Assignment 3 - Practice Session 1, should I include examples(1-5), practices(1-3) and an assignment which is in lecture 3.pdf, page 67?

[Others] About Exstension

Dear TA

Thank you for your efforts.
I am writing because I have a question during the assignment. I did my assignment with c++ according to the default extension of the visual studio installed. Therefore, several parts (ex. main() >> int main() , scanf >> scanf_s) were entered differently than lecture's pdf. The submission of the assignment changed the extension to C, according to the professor's instructions. Is there any penalty because of this?

Question about question 2 in assignment 2

I can't understand how to get the average score. Are you asking me to randomly set the average score for 100 students for each class and calculate the percentages about it? Or is it that the average of first class is made from student1's first class score, student2's first class score and student3's first class score that the user wrote to make average score for each class? If so, is it enough to list all the p / f grades and percentages of three classes for each students? If 9 results are displayed, is it correct?

questions about the assignments

Q1 : In the assignment-1, dose the programs to execute include the incomplete source codes like the codes in p.24 and p.51 of the lecture1 material ?

Q2 : In Question:2 of the assignment-2,

  - each name of the 3 different courses is my option?

  - students' names are the inputs from the user ?  
     Or arbitrary names like  'student1, student2 and student3' are used 
     to represent the 3 students , that is, not input from the user ?

  - the printed info-format is my option ?

Question about lecture1

At page 56 (last page) in ppt lceture1, the value of output of m = -11215.
But when I run the program, the value of that is m = 54321.
I want to know why the value m = 11215 ??
Thank you!

new enrolled students on this course

I just enrolled in this class in early morning, today, so I'm wondering if there is additional due date for our assignment-1. Since it's original due date was 3/.20, I can submit it through website but wondering if you or professor will get that for my grading. Also I want to know if there is additional notice for students like me. Thank you

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.