Skip to content

CS201 – Introduction to Programming

Home Forums Subject-wise Discussion CS201 – Introduction to Programming

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #927
    Prof Shoaib
    Keymaster

    This is the platform for helping other subject fellows, you can discuss your midterm and final term papers. And also you are welcome to share all problems related to CS201.

    “Sharing is Caring”.

    #1171
    Prof Shoaib
    Keymaster

    CS201 Midterm Paper 30-05-2024
    90% of the mcqs are from the past papers
    Short questions
    TWAIN stand for and purpose
    2 questions of finding output of program
    2 Long questions of making program
    And one long question of identifying which one is utility software, application software and device driver.

    #1172
    Prof Shoaib
    Keymaster

    Cs201 Midterm Paper 30-05-24 08:00 AM
    MCQS
    % operator is in which type of operator
    Pointer sy related 2 MCQs thy
    Array mein sy 1 tha
    String mein sy bhi
    Sary MCQs in the form of statement thy koi bhi code ni tha bht simple sy MCQs thy mostly files mein sy thy
    S. Qs
    1) 2 algebraic expression diye huye thy unhee C language mein likhna tha
    1 ax^2+by^2+cz^2
    2 ab^3/a^2+ab^2x+ab^2cx

    2) if else statement ko switch statement mein change krna tha
    3) array ka chota tha program tha us ki output likhni thi
    Long Qs
    1) write the program to find the length and width of the rectangle and also find perimeter of the rectangle
    2) Give a program that user can write name in output and store it in the file naming “myName. file” and also check that the file opens or not

    #1173
    Prof Shoaib
    Keymaster

    CS201 Midterm 30-05-2024

    1. Aik 5 marks ka question Aya “Find the length and width of the rectangle, prompt theit values from user. And then calculate the perimeter of the rectangle.
    (Hint: perimeter of the rectangle= 2*(length+ width)
    2. Aik 3 ya 5 ka marks ka question tha exact nhi yad. Write a string that prompts from user “This is my Pakistan”. Then if the user enters “my” for search then it will display “String ….” And if this is not true then it will display “String not found”.
    3. Aik aur question hai 3 or 5 marks ka. Ke aik code likhy Jo integer data ho and array se bana ho aur aur phir us ke first element display krna hai. And Jo print krny Hain values wo Hain 1,2,3,4,5,6.

    #1199
    Prof Shoaib
    Keymaster

    CS201 Midterm 01/06/24
    MCQs statments thi mostly
    Pointers ma se 3 4
    Output thi simple but junaid ki files se boht km aye the
    5 marks ki 1st lecture ki tips
    How to write effective code
    Integer pointer banana tha variable. X ka
    Aur 5 marks ka CovertInSeconds function define krna tha

    #1200
    Prof Shoaib
    Keymaster

    CS201 Midterm
    Vu Knowledge aur World of education Youtube channel hai unki files sy kafi Mcqs ay huay thay about 10 . Aik for loop tha screen py frst 5 nmbers show krnay thay, dusra simple tha k sum show krain 5 nmbers ka teesra pointers wala tha srf pointer address show krwana tha. Aik short qs tha k algebric expression i.e. x square ko kaisy likhain gy C++ main aur aik yai tha k Y or y ko C++ mai as logical operation kaisy likhtay hain.

    #1271
    Prof Shoaib
    Keymaster

    *CS201 Midterm Spring 2024*

    *OBJECTIVE:* _world of education ki MCQS wali vds se 50% se ziyada MCQS aye thy_
    _MCQS easy thy definitions m se, syntax thy, function ka use pocha howa tha._

    *SUBJECTIVE:*
    *short:* _2 questions m just output likhni thi, 1 full program_
    *long:* _1 ki output likhna thi, 1 program diya tha uski statement thi lkn program m se kuch lines_ _gyb thin wo likhna thi, 1 full program tha user se output lena tha or calculate kr k display krwana_ _tha formula bhi given tha_

    *strcopy strlen string se related bht questions aye thy subjective main mostly yehi thy*

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.