Thread: plz answer the following question.....

  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    1

    plz answer the following question.....

    Execute the following program

    1.

    a) Read the file A o/p-> aaaaaaabbbbbbb………..ppppppp

    b) Read the file B o/p -> 11111112222222…………00000001111111

    2. The o/p of the file c based on the outputs of the files a & b. The output of the file C
    should be like using interleaving techniques.

    aaaaaa1111111bbbbbbb22222222………….

    3. The output of the file D should be the o/ps of the above 3 files

    aaaaaa1111111aaaaaa111111…………..bbbbbb222222222bbbb bbbb2222222……………..

    4. What is pseudo code?

    5. Develop the program using pseudo code.

    6. Show the o/p of the file C which must based on the file A & B

  2. #2
    Hurry Slowly vart's Avatar
    Join Date
    Oct 2006
    Location
    Rishon LeZion, Israel
    Posts
    6,788
    Quote Originally Posted by raja2033 View Post
    plz answer the following question.
    You first
    All problems in computer science can be solved by another level of indirection,
    except for the problem of too many layers of indirection.
    – David J. Wheeler

  3. #3
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    We don't do you your homework for you. Do your best attempt, and if you have questions, tell us what you have so far and specifically what you need help with. Don't forget to search Google before you post, too.

  4. #4
    Registered User
    Join Date
    Apr 2009
    Posts
    1
    1.

    a) Read the file A o/p-> aaaaaaabbbbbbb………..ppppppp

    b) Read the file B o/p -> 11111112222222…………00000001111111

    2. The o/p of the file c based on the outputs of the files a & b. The output of the file C
    should be like using interleaving techniques.

    aaaaaa1111111bbbbbbb22222222………….

    3. The output of the file D should be the o/ps of the above 3 files

    aaaaaa1111111aaaaaa111111…………..bbbbbb222222222bbbb bbbb2222222……………..

    4. What is pseudo code?

    5. Develop the program using pseudo code.

    6. Show the o/p of the file C which must based on the file A & B

  5. #5
    Registered User
    Join Date
    Oct 2008
    Posts
    1,262
    One question is even wrong. You can't develop a program with pseudocode.

    (Okay, let me guess, there must be at least one pseudocodecompiler, right? :P)

  6. #6
    apprentiCe
    Join Date
    Oct 2008
    Location
    Hyderabad,India
    Posts
    136
    what? i think thats how you develop a program...first algorithm then pseudo code then the program...generally all of us think atleast the algorithm part in our head.
    Code:
    printf("%c%c%c%c%c%c%c",0x68,0x68^0xd,0x68|0x4,0x68|0x4,0x68|0xf,0x68^0x49,0x68^0x62);

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A question that'll take 2 seconds to answer
    By blankstare77 in forum C++ Programming
    Replies: 13
    Last Post: 09-03-2005, 09:39 PM
  2. Can anyone help me to answer this question
    By I_need_help in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 02-06-2003, 11:12 PM
  3. Please Answer My Question:
    By DeanDemon in forum C++ Programming
    Replies: 2
    Last Post: 12-17-2002, 12:50 AM
  4. Very simple question, problem in my Code.
    By Vber in forum C Programming
    Replies: 7
    Last Post: 11-16-2002, 03:57 PM
  5. just a reaaaaaaly quick question plz help
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 03-21-2002, 11:39 AM