Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Lv 31,170 points

samim doost

Favorite Answers18%
Answers232
  • What is the required A/D converter number of bits?

    You need to design a digitizer for a communication system connecting a microprocessor to a display driver chip on a PCB copper trace.?

    The communication speed is slow, so the bandwidth of the copper trace is essentially infinite. ?The communication system uses 4-PAM with levels {0,0.25,0.5,0.75} Volts. The receiver has an input-referred noise standard deviation of 10mV.

    Thanks

    1 AnswerEngineering7 years ago
  • I am looking for an IGBT , 600V, 50Khz, Minimum of 50A collector current?

    I am new to IGBTs and struggle reading the Data sheet. I am looking for four IGBTs to make a full bridge inverter for Tesla coil. The Tesla coil draws current of 50A at 600V. I want a switching frequency of 50Khz. Can anyone recommend me which IGBT to use? Please share the datasheet link.

    Thanks in Advance!

    2 AnswersEngineering8 years ago
  • What would be the transmission bandwidth required to transmit this signal?

    A binary encoded signal has a bit-rate of Rb = 56 kbps. A Polar RZ line-code is used to encode these bits for baseband transmission over copper wire. What would be the transmission bandwidth required to transmit this signal?

    A 14 kHz

    B 28 kHz

    C 56 kHz

    D 112 kHz

    2 AnswersEngineering9 years ago
  • How to break a line in C?

    Suppose I have an array char Description[500]

    I want to write this in a file but maximum column I can write in file per line is 80 Column. I want to know how to break Description into pieces.Any idea?

    5 AnswersProgramming & Design1 decade ago
  • how to break a line in C?

    Suppose I have an array char Description[500]

    I want to write this in a file but maximum column I can write in file per line is 80 Column. I want to know how to break Description into pieces.Any idea?

    1 AnswerSingles & Dating1 decade ago
  • How to use gdb Debugger for C programming?

    My code was working an hour ago.

    when i compiled minute ago it shows this error

    gcc -g -lm -ansi -Wall -pedantic pms.o pms_options.o pms_utility.o -o pms

    Undefined first referenced

    symbol in file

    generate pms.o

    ld: fatal: Symbol referencing errors. No output written to pms

    collect2: ld returned 1 exit status

    *** Error code 1

    make: Fatal error: Command failed for target `all'

    is there any way to debug for this error using gdb??

    Thanks alot

    1 AnswerProgramming & Design1 decade ago
  • how to extract the last token in C?

    I have array of char something like this--->program1|program2|program3|program4|program5

    how to get the last token(program5) without using strtok

    3 AnswersProgramming & Design1 decade ago
  • How to pass an array of string as pointers to a funtion?

    For example i have one function void function(how to pass array of string as pointers?)

    I have an array of program id for example i.e,P30234,P30324,P34253, and i want to pass these values to the function i mentioned above.Show me how to point to these array, how to pass them as a pointer in function.

    and also how do you loop it to access each string at a time. Don't just explain in words, I need answers as examples. Thanks alot.

    2 AnswersMathematics1 decade ago
  • how to make a login session in php?

    The user should only be allowed to access a page after login i have a page called news.html and signin.html. I am new in php I want the user to login in to access to news.html page. Any sugesstion. Give example in codes

    3 AnswersProgramming & Design1 decade ago
  • link list c programming help?

    I have sturcture which is given to me

    typedef struct program* ProgramTypePtr;

    typedef struct course* CourseTypePtr;

    /* Structure definitions. */

    typedef struct teachPeriod

    {

    char semester; /* 'y' or 'n' for each semester */

    unsigned year; /* 2010 by default */

    } TeachPeriodType;

    typedef struct course

    {

    char courseID[COURSE_ID_LEN + 1]; /* Unique ID for a course */

    char progID[PROG_ID_LEN + 1];

    char courseTitle[MAX_TITLE_LEN + 1];

    char courseCode[COURSE_CODE_LEN + 1];

    unsigned creditPoints;

    TeachPeriodType teachPeriods[NUM_TEACHPERIODS];

    char courseDescription[MAX_DESC_LEN];

    CourseTypePtr nextCourse;

    } CourseType;

    typedef struct program

    {

    char progID[PROG_ID_LEN + 1]; /* Unique ID for a program */

    char progTitle[MAX_TITLE_LEN + 1];

    char progMajor[MAX_TITLE_LEN + 1];

    char progCode[PROG_CODE_LEN + 1];

    float progDuration;

    char progType[PROG_TYPE_LEN]; /* Undergrade(UG) or Postgrad (PG) */

    char progMode[MODE_LEN]; /* Full-time (FT) or Part-time (PT) */

    char progDescription[MAX_DESC_LEN];

    char majorDescription[MAX_DESC_LEN];

    ProgramTypePtr nextProgram;

    CourseTypePtr headCourse;

    unsigned numCourses;

    } ProgramType;

    typedef struct pms

    {

    ProgramTypePtr headProgram;

    unsigned numPrograms;

    } PMSType;

    I just wana know how to add programs and add courses. Each program can have many courses.

    2 AnswersProgramming & Design1 decade ago
  • C programming substring function help?

    In my lab i was told to impelement a function

    substring(char * substring,char*string){

    }

    function's property

    Enter substring:def

    Enter the string:abcdefdelmde

    def is substring of abcdefdelmde

    Can anyone do this for me plz? to implement it

    I

    2 AnswersProgramming & Design1 decade ago
  • C programming help deleting unwanted character from array?

    I have an array of char which is mixture of alphabetic,numeric,symbol values.

    for example char[ ]={'a',1,3,4,'B','[','z',}

    I need to make a function that will extract alphabetic characters only and store it in other array and return the value of that array

    extractAlphabets(char* line){

    }

    Can anyone help me how to do this.

    3 AnswersProgramming & Design1 decade ago
  • I need help in C Programming?

    I am writing an if condition

    it is if(value is not an alphabetic character){

    do something

    regards

    }

    I dont know any efficient way of doing it. I can do that but it will be so long

    if(value!='a'||value!='b'...............value!='z')

    {body}

    Does anyone know how to write a condition to exclude all alphabetic characters

    3 AnswersProgramming & Design1 decade ago
  • C programming help fgets?

    C programming fgets help please?

    I am given assessment to use fget(not scanf or anything else)I made a menu and when I want to enter a choice fgets doesnt work, it shows error. I am working on it for 5 hours still didnt get it. Even it has not mentioned in textbook in detail about fgets. and

    int main(void)

    {

    int optionStats[NUM_OPTION_STATS];

    char choice;

    do

    {

    printf("Menu\n\n");

    printf("1. Translating alphabetic number\n");

    printf("2. Fibonacci numbers\n");

    printf("3. Sort\n");

    printf("4. Find substrings\n");

    printf("5. Session summary\n");

    printf("3. Bushfire\n");

    printf("6. Exit\n");

    printf("7. Go Again\n");

    printf("Enter your chose: ");

    fgets(choice,size(choice),stdin);

    fgets(choice,sizeof(choice),stdin);<<<<<… work

    if(choice=='1'){

    char input[10];

    printf("%s","Enter Alphabetic Phone Number:");

    fgets(input,sizeof(input),stdin);<<<<<… work at all

    translateNumber(0, input);

    char c[1];

    printf("\nPress enter to continue..");

    fgets(c,1,stdin); <<<doesnt work

    }

    while(choice!='7')

    1 AnswerProgramming & Design1 decade ago
  • C programming fgets help please?

    I am given assessment to use fget(not scanf or anything else)I made a menu and when I want to enter a choice fgets doesnt work, it shows error. I am working on it for 5 hours still didnt get it. Even it has not mentioned in textbook in detail about fgets. and

    int main(void)

    {

    int optionStats[NUM_OPTION_STATS];

    char choice;

    do

    {

    printf("Menu\n\n");

    printf("1. Translating alphabetic number\n");

    printf("2. Fibonacci numbers\n");

    printf("3. Sort\n");

    printf("4. Find substrings\n");

    printf("5. Session summary\n");

    printf("3. Bushfire\n");

    printf("6. Exit\n");

    printf("7. Go Again\n");

    printf("Enter your chose: ");

    fgets(choice,size(choice),stdin);

    fgets(choice,sizeof(choice),stdin);<<<<<<<doesnt work

    if(choice=='1'){

    char input[10];

    printf("%s","Enter Alphabetic Phone Number:");

    fgets(input,sizeof(input),stdin);<<<<<<doesnt work at all

    translateNumber(0, input);

    char c[1];

    printf("\nPress enter to continue..");

    fgets(c,1,stdin); <<<doesnt work

    }

    while(choice!='7')

    1 AnswerProgramming & Design1 decade ago
  • I cannt choose a created content in Smackdown vs Raw 2009?

    I have made a new superstare but when i play online even the created content is turned on but i cannot see my created superstar.Any suggestion?

    1 AnswerVideo & Online Games1 decade ago
  • how do you add or remove JPanel in Jframe during runtime(Java Question)?

    I have three classes JFame,JPanel,LeftPane and ActionListener class.I have a button in LeftPane and i am trying to change the visibility or add or remove the JPanel from JFrame when the button is clicked. I have implemented the ActionListener to do this and then i wrote frame.validate to bring changes in Frame during runtime, but it doesnt work

    Can anyone give me a small example how to do so or is there sourse code online please send me link

    Thanks alot

    1 AnswerProgramming & Design1 decade ago
  • how would you make a dynamic field?

    Hi, I am making a MVC model in java. I have a class called class1

    Using UI when i add a course by filling some parametre, this course will be added in Program object. When i add course second time, the first one is gone and second one is the first one. It is hard for me to initialise Course object many times for the new courses to be added. Can any one tell me how to do it

    My code is here

    public class Initialiser {

    private AMSFacade facade;

    private String courseType;

    private String courseCode;

    private String courseTitle;

    private String[] Prerequsite;

    private ElectiveCourse electiveCourse1;

    private CoreCourse coreCourse1;

    private Program program;

    private Course[] course= new Course[100];

    private int count = 0;

    public Initialiser() {

    }

    public void addProgram(String code, String title) {

    facade = new AMSFacade();

    program = new Program(code, title);

    facade.addProgram(program);

    }

    public void addCourse(String couseType, String courseCode, String title,

    String[] prerequsite) {

    facade = new AMSFacade();

    addProgram("COSC", "ComputerScience");

    System.out.println(prerequsite + "prerequsite" + courseTitle);

    if (couseType.compareTo("elective") == 0) {

    course[count] = new ElectiveCourse(courseCode, title, prerequsite);

    courseUpdate(new ElectiveCourse(courseCode, title, prerequsite));

    count++;

    } else {

    course[count] = new CoreCourse(courseCode, title, prerequsite);

    courseUpdate(new CoreCourse(courseCode, title, prerequsite));

    count++;

    }

    }

    public void courseUpdate(Course course) {

    try {

    facade.addCourse(course);

    } catch (ProgramException e) {

    // TODO Auto-generated catch block

    e.printStackTrace();

    }

    I have an array of Course so whenever i use addCourse method, the course should add to the array using CourseUpdate method there.

    But this doesnt work, i can only see one method when i call the method .getAllCourse.length

    }

    1 AnswerProgramming & Design1 decade ago
  • sql query help please?

    Question::List the actorID,firstname,and last name of actors who have ONLY played in drama movies,together with the number of drama movies each actor played. output should be in descending order of number of movies each actor played

    the databse is here

    MovieInfo(mvid,title,firstname,lastname) where mvid is primary key

    Cast(mvID*,actorID*) both of the attribute are primary and forign key

    Actor(actorID,firstname,lastname,genre,birthplace) actorID is primary key

    Genre(mvID*,genre) mvid and genre both are primary key and mvid is foreign key too

    Thanks in advance

    1 AnswerSoftware1 decade ago