My Courses
C Programming MCQ Data Types and Sizes Set-1
1. Comment on the output of this C code? #include int main() { float f1 = 0.1; if (f1 == 0.1) printf(“equal\n”); else printf(“not equal\n”); } a) equal b) not equal c) output depends on compiler d) none of the mentioned 2. Comment on the output of this C code? #include <stdio.h> int main() {…
Computer Organization Questions and Answers – Basic Operational Concept Part-II
Computer Organization Questions and Answers – Basic Operational Concept This set of Computer Organization and Architecture MCQ focuses on “Basic Operational Concept of The Processor”. 1. The decoded instruction is stored in ______ . a) IR b) PC c) Registers d) MDR 2. The instruction -> Add LOCA,R0 does, a) Adds the value of LOCA…
Computer Organization Questions and Answers Part-1
Computer Organization Questions and Answers – Basic Operational Concept This set of Computer Organization and Architecture MCQ focuses on “Basic Operational Concept of The Processor”. 1. The decoded instruction is stored in ______ . a) IR b) PC c) Registers d) MDR 2. The instruction -> Add LOCA,R0 does, a) Adds the value of LOCA…
जनरल नॉलेज Question for Competitive Exam
जनरल नॉलेज Question for Competitive Exam 1. मंडल कमीशन किस प्रधान मंत्रीके कार्यकाल में लागू हुआ ? उत्तर – वी. पी मे सिंह 2. सार्स क्या है ? उत्तर – विषाणु द्वारा फैलने रोग 3. भारत में हरित क्रांति के जनक है उत्तर – एम. एस. स्वामीनाथन 4. श्वेत क्रांति का सम्बन्ध है । उत्तर…
प्राचीनकाल की महत्वपूर्ण पुस्तकें
प्राचीनकाल की महत्वपूर्ण पुस्तकें ━━━━━━━━━━━━━ 1-अष्टाध्यायी – पांणिनी 2-रामायण – वाल्मीकि 3-महाभारत – वेदव्यास 4-अर्थशास्त्र – चाणक्य 5-महाभाष्य – पतंजलि 6-सत्सहसारिका सूत्र – नागार्जुन 7-बुद्धचरित – अश्वघोष 8-सौंदरानन्द – अश्वघोष 9-महाविभाषाशास्त्र – वसुमित्र 10- स्वप्नवासवदत्ता – भास 11-कामसूत्र – वात्स्यायन 12-कुमारसंभवम् – कालिदास 13-अभिज्ञानशकुंतलम् – कालिदास 14-विक्रमोउर्वशियां – कालिदास 15-मेघदूत – कालिदास 16-रघुवंशम् – कालिदास…
हरियाणा में विशेष नाम से प्रसिद्ध शहर
हरियाणा में विशेष नाम से प्रसिद्ध वेज्ञानिक नगरी – अम्बाला साइबर सिटी – गुड़गांव मेडी सिटी – गुड़गांव पेपर सिटी -यमुनानगर सुगर सिटी – पलवल , रोहतक धर्म नगरी – कुरुक्षेत्र दूध नगरी – जींद कोटन सिटी :- पलवल बुनकरों की नगरी – पानीपत शहीदों की नगरी -झज्जर इस्पात नगरी — हिसार पीतल नगरी –…
Haryana General Knowledge Question
HTET हरियाणा की सभी परीक्षाओं के लिए HARYANA GK प्रश्न 1. हरियाणा में कौन_कौन से नये मंडल (Division) बनाए गए हैं? उत्तर – करनाल और फरीदाबाद प्रश्न 2. अब हरियाणा में कुल कितने मंडल हो गए हैं? उत्तर – छः मंडल प्रश्न 3. हरियाणा के सभी मंडलों के नाम बताएं? उत्तर – अम्बाला, करनाल, रोहतक,…
C Programming Questions and Answers – While Loops – 2
C Programming Questions and Answers – While Loops – 2 1. What is the output of this C code? #include <stdio.h> void main() { char *str = “”; do { printf(“hello”); } while (str); } a) Nothing b) Run time error c) Varies d) Hello is printed infinite times 2. What is the output…
C Programming Questions and Answers – While Loops – 1
C Programming Questions and Answers – While Loops – 1 1. What is the output of this C code? #include <stdio.h> int main() { while () printf(“In while loop “); printf(“After loop\n”); } a) In while loop after loop b) After loop c) Compile time error d) Infinite loop 2. What is the output…
C Programming Questions and Answers – For Loops
C Programming Questions and Answers – For Loops 1. What is the output of this C code? #include <stdio.h> void main() { double k = 0; for (k = 0.0; k < 3.0; k++); printf(“%lf”, k); } a) 2.000000 b) 4.000000 c) 3.000000 d) Run time error 2. What is the output of this C…