Skip to content

Prof Shoaib

Forum Replies Created

Viewing 11 posts - 46 through 56 (of 56 total)
  • Author
    Posts
  • in reply to: CS101 – Introduction to Computing #1196
    Prof Shoaib
    Keymaster

    CS101 Midterm 30/5/2024
    paper Done: Files se kuch b ni Aya zyada mcqs conceptual thy…
    Short lectures liye thy unka hi faida hua…
    Mcqs networking se…
    Searching Google se…
    Html se thy…
    Aur binary waly se mcqs aye thy over all paper conceptual hi tha meri advice hai short lectures lein 3,to 4 hours mn cover ho jaen gay handouts aur usse tyari b achii ho g

    in reply to: CS411 – Visual Programming #1195
    Prof Shoaib
    Keymaster

    Cs411 Midterm 31-05-2024:
    Mcqs was from handouts mainly.
    Short 3 Marks:
    1. Define static Keyword and when and how to use it with example?

    2. Write a code in C# to display this output: “Welcome” to CS411. Make sure to display the inverted commas.

    3. What is the difference between HorizontalAlignment and HorizontaContentlAlignment inside the stackpanel? with example.

    Long 5 Marks:
    1. Getter Setter code lika tha jis mey get{} use kia huwa tha but set{} ap ny khud set krna tha means correct the code.

    2. Write a c++ program to read integers from “book.txt” using ifstream and add them and display the output and if “book.txt” doesn’t exist or not found then handle the error with a message box.

    3. It was related to creating an XAML proper yad nhi.

    in reply to: CS302 – Digital Logic Design #1194
    Prof Shoaib
    Keymaster

    CS302 Midterm 31-05-24
    Mcqs mostly past files ma sae hi thy
    Short 1 – XOR gate ka truth table or operation us ka
    2- 7 segment ki values find karni thi 0,4,7
    Long
    1- binary values ko octal ma convert karna tha
    2- SOP ka table draw karna tha 3 variable k map expression dia hua tha

    in reply to: CS607 – Artificial Intelligence #1192
    Prof Shoaib
    Keymaster

    CS607 – Today 30/05/2024 11:00 am
    MCQS past file + handout
    Short Questions:
    Machine thinks like a human and machine work like a human are same? Explain with examples
    how Genetic Algorithms work in search space?

    Long Question
    Rules type and components
    Strong AI vs Weak Ai with real life example
    Genetic Algorithms types

    in reply to: CS603 – Software Architecture and Design #1191
    Prof Shoaib
    Keymaster

    Cs 603 Midterm 30/05/2024
    1- If we force to implement law of demeter then please enlist the two drawbacks of law for demeter
    2- if a5, parent class of a then what is the lifespan of A5?
    3- If you are designing a software, then please write a five principles of maintainable design
    4- How ISP violates?
    5- Solid principles
    6- state, behaviour and identity

    in reply to: CS502 – Fundamentals of Algorithms #1190
    Prof Shoaib
    Keymaster

    CS502 Midterm 30-05-2024

    Objective

    Kuch files se the or kuch handouts se or easy the mostly part timing complexity per tha

    Subjective

    Short

    ▫ Write the summation form of quadratic series with the theta notation
    ▫ The following summation
    (N+1)(N+2)/2 represent the the quick sort what will be the asymptomatic notation

    ▫Divide and conquer strategy

    Long Question

    ▫how bubble sort algorithm works
    ▫the plagiarism detection with edit base
    ▫ The two criteria to. Measure or analyze algorithm

    Regards

    Prof Shoaib
    Keymaster

    *Cs401 Midterm 30-05-24 8:00 AM paper*
    Mcq from Waqar file
    *Short question*
    1. What is the effect of SP instruction on RET and CALL instructions.
    2. Write instruction to copy the offset 0035 a into the current register AX.
    3. Mov [bx], ax which addressing mode is use in this instruction?
    *Long questions* 1. Difference between near and short jump in detail.
    2. Define divide overflow error. Write instructions that make this divide overflow error
    Mov bl,
    Mov ax,
    DIV BL
    3. 5 pair given thy physical address find krna tha aun ka.

    in reply to: CS508 – Modern Programming Languages #1188
    Prof Shoaib
    Keymaster

    CS508 Midterm spring 2022

    11,12 mcqs past se file shayad arsalan ki thi

    Enlist any three mathematical functions used in LISP. (3 marks)

    How ‘flow of control’ is managed in SNOBOL? (3 marks)

    What are the benefits to allow special keywords for signaling the start and end of “if statement”? Elaborate it with examples of C and Ada language. (5 marks)

    Declare a record named as Student in Ada, that will contain id, name, age and address.
    Note: complete code is not required. Just write the code for record. (5 marks)

    Ye values di hui thi. Btana tha with respect to integer variable ye SNOBOL k liye legal hai ya illegal or q hai sb k aagy iska reason btana tha. (5 marks)

    5,2456
    – 567
    14.5
    -234
    +12832

    in reply to: CS201 – Introduction to Programming #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.

    in reply to: CS201 – Introduction to Programming #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

    in reply to: CS201 – Introduction to Programming #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.

Viewing 11 posts - 46 through 56 (of 56 total)