Ruby | MCQs

    Q1: Where precious stone ruby is found in AJK?

    اے جے کے میں قیمتی پتھر روبی کہاں پایا جاتا ہے؟
    • A. District Bagh
    • B. District Neelum
    • C. District Havely
    • D. District Poonch
    • A. Concert: music
    • B. Trophy: Prize
    • C. Baseball: basketball
    • D. Party: house

    Q3: What is the syntax for defining a method in Ruby?

    روبی میں طریقہ کی وضاحت کے لیے نحو کیا ہے؟
    • A. def method_name
    • B. define method_name
    • C. function method_name
    • D. method method_name