MCQs on Programming Basics
MPESB -2023
निम्नलिखित में से कौन सा एक तार्किक संचालन नहीं है?
Which of the following is not a logical operation?
[A] IF-Then
[B] Value_if_true
[C] If Logic
[D] Logical_test
Correct Answer : If Logic
MPESB -2023
्रोग्राम एक लूप में एक्जिक्यूट होता है जब BREAK जैसा स्टेटमेंट WHILE, FOR, DO WHILE, और एन्हांस्ड-फॉर जैसे लूप के अंदर समाहित होता है।
The programme executes in a loop when a statement like BREAK is contained inside a loop like WHILE, FOR, DO WHILE, and Enhanced-FOR.
[A] Never exit
[B] Continuation with next iteration
[C] Exit
[D] infinite
Correct Answer : Exit
HSSC CET 2023
प्रोग्रामिंग में आश्रित कथन क्या है?
What is a dependent statement in programming ?
[A] A statement that is used to define a variable
[B] A statement that depends on the execution of other statements in the program
[C] A statement that executes independently of other statements in the program
[D] A statement that is only executed under specific conditions
Correct Answer : A statement that depends on the execution of other statements in the program
HPSSSB -2018
किसी प्रोग्राम में बग को इस नाम से भी जाना जाता है
A bug in a program is also known as
[A] Fault
[B] Exception
[C] Syntax Error
[D] Semantic Error
Correct Answer : Fault
HPSSSB -2018
_______ एक समस्या समाधान तकनीक है जिसमें समान लेकिन छोटी उप-समस्याओं के समाधानों को मिलाकर एक बड़ी समस्या का समाधान किया जाता है।
_______ is a problem solving technique in which a larger problem is solved by combining solutions of identical but smaller sub-problems.
[A] Union
[B] Pointer
[C] Recursion
[D] Structured Programming
Correct Answer : Recursion
HPSSSB -2018
_______ एक असामान्य स्थिति है जो प्रोग्राम निष्पादन के दौरान उत्पन्न हो सकती है, जिसे यदि ठीक से नहीं संभाला जाए तो प्रोग्राम के अप्रत्याशित व्यवहार का कारण बन सकता है।
_______ is an abnormal condition that may arise during program execution that if not handled properly may cause unexpected behaviour of the program.
[A] Syntax Error
[B] Fault
[C] Semantic Error
[D] Exception
Correct Answer : Exception
HPSSSB -2018
_____ एक विशेष प्रकार का चर है जो किसी अन्य चर का पता रख सकता है।
A _____ is a special type of variable that can hold address of some other variable.
[A] Pointer
[B] Structure
[C] Static
[D] Register
Correct Answer : Pointer
HPSSSB -2018
फ्लोटिंग पॉइंट संख्याएं वे संख्याएं हैं, जिनमें शामिल हैं
Floating point numbers are those numbers, which include
[A] decimal point
[B] fractional parts
[C] integer values
[D] All of these
Correct Answer : All of these
HPSSSB -2018
प्रोग्रामिंग भाषाओं को इस प्रकार वर्गीकृत किया जा सकता है
Programming languages can be categorized as
[A] Machine language
[B] Assembly language
[C] High level language
[D] All of these
Correct Answer : All of these
HPSSSB -2018
निम्नलिखित में से किसे उच्च स्तरीय भाषा की सीमा माना जाता है?
Which of the following is considered as a limitation of high level language ?
[A] Lower efficiency
[B] Machine dependence
[C] Machine level coding
[D] All of these
Correct Answer : Lower efficiency
HPSSSB -2018
‘फोरट्रान’ एक प्रोग्रामिंग भाषा है जिसे विकसित किया गया है
‘FORTRAN’ is a programming language developed by
[A] Jack Simplot
[B] Jory Hamington
[C] John Nauchly
[D] John W. Backus & others
Correct Answer : John W. Backus & others
HPSSSB -2018
निम्नलिखित में से कौन सी भाषा/भाषाएँ व्याख्या की गई भाषा है/हैं?
Which of the following is/are interpreted language(s) ?
[A] C++
[B] Java
[C] Visual basic
[D] Both (B) and (C)
Correct Answer : Both (B) and (C)
HPSSSB -2018
निम्नलिखित में से कौन सा सॉफ्टवेयर किसी प्रोग्राम में वाक्यविन्यास संबंधी त्रुटियों की जाँच करता है?
Which of the following software checks the syntactic errors in a program ?
[A] Compiler
[B] Interpreter
[C] Both (A) and (B)
[D] Text editor
Correct Answer : Compiler
HPSSSB -2018
बहु-प्रोग्रामिंग प्रणालियाँ
Multi-programming systems
[A] are easier to develop than single programming systems
[B] execute each job faster
[C] execute more jobs at the same time
[D] All of these
Correct Answer : execute more jobs at the same time
HPSSSB -2018
एक फ़ाइल जिसके साथ एक विशिष्ट एप्लिकेशन प्रोग्राम जुड़ा होता है जो फ़ाइल को खोलने पर खुलता है उसे एक फ़ाइल कहा जाता है
A file that has a specific application program attached to it that will open when the file is opened is called a/an
[A] subfolder
[B] hyperlink
[C] associated file
[D] None of these
Correct Answer : associated file
HPSSSB -2018
एक फ़ाइल जिसके साथ एक विशिष्ट एप्लिकेशन प्रोग्राम जुड़ा होता है जो फ़ाइल को खोलने पर खुलता है उसे एक फ़ाइल कहा जाता है
A file that has a specific application program attached to it that will open when the file is opened is called a/an
[A] subfolder
[B] hyperlink
[C] associated file
[D] None of these
Correct Answer : associated file
HPSSSB -2018
वाक्यविन्यास त्रुटियों को _________त्रुटियों के रूप में भी जाना जाता है।
Syntax error are also known as _________errors.
[A] Logic
[B] Semantic
[C] Parsing
[D] None of the above
Correct Answer : Parsing
BIHAR STET-2023
पृथक श्रृंखलाबद्धता में टकराये हुए तत्वों को अलग-अलग डेटा संरचनाओं में संग्रहित करना शामिल है, आमतौर पर:
Separate chaining involves storing collided elements in separate data structures, typically in:
[A] Linked lists
[B] Arrays
[C] Stacks
[D] Queues
Correct Answer : Linked lists
BIHAR STET-2023
अधिकांश प्रोग्रामिंग भाषाओं में क्लास का इंस्टैंस बनाने के लिए किस कीवर्ड का उपयोग किया जाता है?
Which keyword is used to create an instance of a class in most programming languages?
[A] alloc
[B] new
[C] create
[D] instance
Correct Answer : new
BIHAR STET-2023
निम्नलिखित में से किस फ़ंक्शन को छोड़कर, तार्किक फ़ंक्शन वाला सूत्र परिणाम के रूप में "TRUE" या "FALSE" शब्द दिखाता है?
Except which of the following function , a formula with a logical function shows the words "TRUE" or "FALSE" as a result ?
[A] NOT
[B] OR
[C] IF
[D] AND
Correct Answer : OR
BIHAR STET-2023
वेरिएबल्स जिन्हें प्रोग्राम के सभी मॉड्यूल द्वारा एक्सेस किया जा सकता है, कहलाते हैं।
Variables which can be accessed by all modules of the program is called .
[A] Global
[B] Auto
[C] Static
[D] Local
Correct Answer : Global
BIHAR STET-2023
वह भाषा जिसके लिए DFA मौजूद है वह _________ है
A Language for which DFA exist is a________
[A] Regular Language
[B] Non-Regular Language
[C] Any language
[D] Cannot be said
Correct Answer : Regular Language
BIHAR STET-2023
यदि प्रारंभिक अवस्था को छोड़कर 5 अवस्थाओं के NFA को DFA में परिवर्तित किया जाता है, तो DFA के लिए अधिकतम संभव अवस्थाओं की संख्या क्या है?
If NFA of 5 states excluding the initial state is converted into DFA, maximum possible number of states for the DFA is?
[A] 64
[B] 32
[C] 128
[D] 187
Correct Answer : 64
BIHAR STET-2023
कौन सा कथन प्रोग्रामेबल लॉजिक डिवाइस (पीएलडी) का सटीक वर्णन करता है?
Which statement accurately describes a Programmable Logic Device (PLD)?
[A] PLDs can only be programmed once and cannot be reconfigured.
[B] PLDs are used exclusively for memory storage in digital circuits.
[C] PLDs allow for both input and output programming to implement custom logic functions.
[D] PLDs consist of only AND gates and do not include OR gates.
Correct Answer : PLDs allow for both input and output programming to implement custom logic functions.
BIHAR STET-2023
समानांतर प्रोग्रामिंग में "रेस कंडीशन" शब्द का तात्पर्य है:
The term "race condition" in parallel programming refers to:
[A] A competition between processes to terminate first
[B] A competition between processes to access shared resources
[C] A situation where a process is stuck in a loop
[D] A situation where processes are running sequentially
Correct Answer : A competition between processes to access shared resources
BIHAR STET-2023
कमांड इंटरप्रेटर की आवश्यकता इसलिए उत्पन्न होती है क्योंकि:
The need for a command interpreter arises because:
[A] Hardware cannot execute programs directly
[B] All programming languages require an interpreter
[C] Software cannot run on hardware
[D] Users prefer typing commands over using GUIs
Correct Answer : Hardware cannot execute programs directly
BIHAR STET-2023
प्रोग्रामिंग में नेमस्पेस का उपयोग करने का मुख्य उद्देश्य क्या है?
What is the main purpose of using namespaces in programming?
[A] To provide data encapsulation
[B] To organize code into logical groups
[C] To define abstract classes
[D] To handle exceptions
Correct Answer : To organize code into logical groups
BIHAR STET-2023
उस चर के लिए क्या शब्द है जो किसी क्लास के उदाहरण को संदर्भित करता है?
What is the term for a variable that references an instance of a class?
[A] Property
[B] Method
[C] Object
[D] Constructor
Correct Answer : Object
BIHAR STET-2023
उस चर के लिए क्या शब्द है जो किसी क्लास के उदाहरण को संदर्भित करता है?
What is the term for a condition that occurs during program execution that disrupts the normal flow of instructions?
[A] Abstraction
[B] Inheritance
[C] Exception
[D] Encapsulation
Correct Answer : Exception
BIHAR STET-2023
पुश डाउन ऑटोमेटन द्वारा स्वीकृत भाषा
The language accepted by Push down Automaton
[A] Recursive Language
[B] Context free language
[C] Linearly Bounded language
[D] All of the mentioned
Correct Answer : Context free language
DSSSB TGT -2023
डीएसएस एक कंप्यूटर प्रोग्राम एप्लिकेशन है जिसका उपयोग किसी कंपनी की ________क्षमताओं को बेहतर बनाने के लिए किया जाता है।
DSS is a computer program application used to improve a company's ________capabilities.
[A] Decision -making capabilities
[B] Marketing capabilities
[C] Delegation capabilities
[D] Resource utilisation capabilities
Correct Answer : Decision -making capabilities
DSSSB TGT -2023
_________ एक कोड है जिसमें सीपीयू और प्लेटफॉर्म-स्वतंत्र निर्देश सेट शामिल होता है, जिसे आसानी से मूल कोड में परिवर्तित किया जा सकता है।
_________is a code that consists of CPU and platform -independent set of instruction, which can be easily converted to the native code.
[A] DLL
[B] FCL
[C] JIT
[D] MSIL
Correct Answer : MSIL
DSSSB TGT -2023
_________ एक उपयोगकर्ता-परिभाषित डेटा प्रकार है जिसमें डेटा सदस्य और सदस्य फ़ंक्शन होते हैं।
A/An _________is a user -defined datatype which has data members and member functions.
[A] Package
[B] Object
[C] Class
[D] Method
Correct Answer : Class
DSSSB TGT -2023
निम्नलिखित में से कौन सी भाषा गैर .NET भाषा है?
Which of the following language is a non .NET language ?
[A] J#
[B] C#
[C] Pascal
[D] F#
Correct Answer : Pascal
DSSSB TGT -2023
असेंबली भाषा के संबंध में निम्नलिखित में से कौन सा कथन सही है? I. एक असेंबली एक असेंबली भाषा के प्रतीकात्मक प्रोग्राम को उसके समकक्ष मशीन प्रोग्राम में परिवर्तित करती है (या असेंबल करती है)। II. असेंबली भाषा में लिखा गया प्रोग्राम मशीन पर निर्भर होता है।
Which of the following statement(s) is/are correct regarding Assembly language ? I. An assemble rconverts (or assemble s) the symbolic program of an Assembly language into its equivalent machine program. II. A program writte n in an assembly language is machine dependent.
[A] Both I and II
[B] Only II
[C] Only I
[D] Neither I nor II
Correct Answer : Both I and II
DSSSB TGT -2023
स्ट्रिंग एक या अधिक वर्णों का संग्रह है जिसमें ______ शामिल है प्रोग्रामिंग भाषा में। I. अक्षर IN. संख्याएँ IN. प्रतीक
String is a collection of one or more character which consists of ______ in programming language . I. Letters II. Numbers III. Symbols
[A] . I, II and III
[B] Only I
[C] Only I and III
[D] Only II
Correct Answer : . I, II and III
DSSSB TGT -2023
ASCII (अमेरिकन स्टैण्डर्ड कोड फॉर इन्फॉर्मेशन इंटरचेंज) केवल ______ या अधिकतम ______ भाषाओं को ही संभाल सकता है और यह सभी विश्व भाषाओं को संभालने में इसकी सीमाओं को दर्शाता है।
ASCII (American Standard Code for Information Interchange ) can only handle ______or at most ______ languages and that shows its limitation to handle all world languages.
[A] 2, 5
[B] 1, 2
[C] 1, 5
[D] 3, 4
Correct Answer : 1, 2
DSSSB TGT -2023
______ फ़ाइलें डेटा के टेक्स्ट प्रारूप में स्प्रेडशीट फ़ाइलें होती हैं, जब सेल सामग्री को किसी वर्ण द्वारा अलग किया जाता है, उदाहरण के लिए अल्पविराम या अर्धविराम।
______ files are spreadsheet files in a text format of data when cell contents are separated by a character for example a comma or semi-colon.
[A] Comma-Separated- Values
[B] Semi-colon Separated Values
[C] Column and Row Headers
[D] CVS
Correct Answer : Comma-Separated- Values
DSSSB TGT -2023
प्रोग्रामिंग भाषा में यूनिकोड को कंप्यूटर विज्ञान में किस बिट प्रारूप मानक का उपयोग करके दर्शाया जा सकता है?
Unicode in the programming language can be represented using which of the bit format standards in computer science ?
[A] 8-bit
[B] 17-bit
[C] 65-bit
[D] 9-bit
Correct Answer : 8-bit
DSSSB TGT -2021
______ एक सिस्टम सॉफ्टवेयर पैकेज है जो उच्च स्तरीय भाषा प्रोग्राम को मशीन भाषा में परिवर्तित करता है।
______ is a system software package that converts a high level language program to machine language.
[A] Editor
[B] Debugger
[C] Emulator
[D] Compiler
Correct Answer : Compiler
किसी सॉफ्टवेयर के मॉड्यूल को तार्किक रूप से सुसंगत कहा जाता है यदि ______।
A module of a software is said to be logically cohesive if ______.
[A] all the elements of the module perform similar operations like error handling, data input etc
[B] if the set of functions of the module are all part of a procedure
[C] different elements of the module cooperate to achieve a single function for example managing an employee’s pay roll
[D] all the elements of the module performs different operations alternatively
Correct Answer : all the elements of the module perform similar operations like error handling, data input etc
DSSSB TGT -2021
टॉप-डाउन डिज़ाइन प्रोग्रामिंग में शामिल चरणों को पुनर्व्यवस्थित करें? I. समस्या का विश्लेषण करें II. संशोधित करें और पुनः अनुक्रमित करें III. मुख्य मॉड्यूल लिखें IV. मॉड्यूल को उचित क्रम में कनेक्ट करें V. शेष मॉड्यूल लिखें
Rearrange steps involved in top-down design programming? I. Analyze the problem II. Revise and resequence III. Write the main module IV. Connect the modules in proper order V. Write the remaining modules
[A] III ⟶ I ⟶ V ⟶ IV ⟶ II
[B] I ⟶ III ⟶ V ⟶ IV ⟶ II
[C] V ⟶ III ⟶ I ⟶ IV ⟶ II
[D] II ⟶ IV ⟶ V ⟶ III ⟶ I
Correct Answer : I ⟶ III ⟶ V ⟶ IV ⟶ II
DSSSB TGT -2021
निम्न में से कौन सी विशेषता उच्च स्तरीय प्रोग्रामिंग भाषाओं की है? I. पोर्टेबिलिटी II. आसान डिबगिंग
Which of the following is the feature(s) of High level programming languages? I. Portability II. Easy debugging
[A] Only II
[B] Both I and II
[C] Only I
[D] Neither I nor II
Correct Answer : Both I and II
DSSSB TGT -2021
प्रथम पीढ़ी के कंप्यूटर ______ भाषा में विकसित किए गए थे। I. मशीन II. उच्च स्तरीय
First generation computers were developed in ______ language. I. Machine II. High Level
[A] I or II both
[B] only I
[C] only II
[D] Nether I nor II
Correct Answer : only I
DSSSB TGT -2021
FORTRAN कंप्यूटर प्रोग्रामिंग भाषा का पूर्ण रूप क्या है?
What is the full form of FORTRAN computer programming language?
[A] Formula Translation
[B] First Translation
[C] First Transition
[D] Formula Transition
Correct Answer : Formula Translation
DSSSB TGT -2021
निम्नलिखित में से कौन सी भाषा आमतौर पर व्याख्या की जाने वाली भाषा है? I. C II. पर्ल
Which of the following is a typically interpreted language? I. C II. Perl
[A] Both I and II
[B] Neither I nor I
[C] Only II
[D] Only I
Correct Answer : Only II
DSSSB TGT -2021
किसी भी भाषा को ऑब्जेक्ट-ओरिएंटेड भाषा बनने के लिए तीन मुख्य अवधारणाओं का समर्थन करने की आवश्यकता होती है। निम्नलिखित में से कौन सी उनमें से एक है? I. एनकैप्सुलेशन II. इनहेरिटेंस III. पॉलीमॉर्फिज्म
There are three main concepts that any language needs to support to be an object-oriented language. Which of the following is one of them? I. Encapsulation II. Inheritance III. Polymorphism
[A] II and III
[B] I, II and III
[C] I and III
[D] I and II
Correct Answer : I, II and III
DSSSB TGT -2023
निम्नलिखित में से कौन सा फ्रंट-एंड डिज़ाइन टूल नहीं है?
Which of the following is NOT a front-end design tool?
[A] Angular JS
[B] PHP
[C] Chrome Dev Tools
[D] jQuery
Correct Answer : PHP
DSSSB TGT -2023
निम्नलिखित में से कौन सा किसी प्रोग्रामिंग भाषा में मेमोरी स्थान को दिया गया प्रतीकात्मक नाम है?
Which of the following is a symbolic name given to a memory location in any programming language ?
[A] Variable
[B] Constant
[C] Literal
[D] Attribute
Correct Answer : Variable
DSSSB TGT -2023
निम्नलिखित में से कौन सा अनुवादक स्रोत कोड को ऑब्जेक्ट लक्ष्य कोड में अनुवाद करता है?
Which of the following is a translator that translate source code into object target code?
[A] Language processor
[B] Interpreter
[C] Compiler
[D] Assembler
Correct Answer : Compiler