Tag: Ireland
-
Python Questions and Answers – Dictionary – 2
Python Multiple Choice Questions & Answers (MCQs) focuses on “Dictionary – 2”. Q 1. Which of these about a dictionary is false?A. The values of a dictionary can be accessed using keysB. The keys of a dictionary can be accessed using valuesC. Dictionaries aren’t orderedD. Dictionaries are mutable Show Answer Answer:-B. The keys of a…
-
PHP Questions & Answers – Strings and Regular Expressions – 2
PHP Questions and Answers for focuses on “Strings and Regular Expressions – 2”. Q 1. How many functions does PHP offer for searching and modifying strings using Perl-compatible regular expressions.A. 7B. 8C. 9D. 10 Show Answer Answer:-B. 8 Explanation The functions are preg_filter(), preg_grep(), preg_match(), preg_match_all(), preg_quote(), preg_replace(), preg_replace_callback(), and preg_split(). Q 2. What will…
-
Python Multiple Choice Questions – Dictionary
Python Multiple Choice Questions & Answers (MCQs) focuses on “Dictionary”. Q 1. Which of the following statements create a dictionary?A. d = {}B. d = {“john”:40, “peter”:45}C. d = {40:”john”, 45:”peter”}D. All of the mentioned Show Answer Answer:-D. All of the mentioned Explanation Dictionaries are created by specifying keys and values. Q 2. What will…
-
What Advice Are You Grateful To Share With Others About MS?
If you’re asking for advice about Multiple Sclerosis (MS), here are some thoughtful insights I would share: Ultimately, living with MS is a personal journey, and what works for one person may not work for another. However, embracing a proactive, informed, and compassionate approach to managing your health can make a significant difference. Here’s an…
-
MRI
MRI stands for Magnetic Resonance Imaging. It is a medical imaging technique used to visualize the internal structures of the body in detail. MRI uses strong magnetic fields and radio waves to generate images of organs, tissues, and other structures inside the body, providing valuable information without the use of ionizing radiation (as in X-rays…
-
PHP Multiple Choice Questions – Strings and Regular Expressions
PHP Multiple Choice Questions & Answers (MCQs) focuses on “Strings and Regular Expressions”. Q 1. PHP has long supported two regular expression implementations known as _______ and _______ i) Perlii) PEARiii) Pearliv) POSIXA. i) and ii)B. ii) and iv)C. i) and iv)D. ii) and iii) Show Answer Answer:-C. i) and iv) Q 2. What will…
-
Python Questions and Answers – Sets – 4
Python Multiple Choice Questions & Answers (MCQs) focuses on “Sets – 4”. Q 1. What will be the output of the following Python code? s1={3, 4}s2={1, 2}s3=set()i=0j=0for i in s1:for j in s2:s3.add((i,j))i+=1j+=1print(s3)A. {(3, 4), (1, 2)}B. {(4, 2), (3, 1), (4, 1), (5, 2)}C. {(3, 1), (4, 2)}D. Error Show Answer Answer:-B. {(4, 2),…
-
Python Questions and Answers – Sets – 3
Python Multiple Choice Questions & Answers (MCQs) focuses on “Sets – 3”. Q 1. Which of the following functions will return the symmetric difference between two sets, x and y?A. x | yB. x ^ yC. x & yD. x – y Show Answer Answer:-B. x ^ y Explanation The function x ^ y returns…
-
PHP Questions & Answers – PHP Filter
PHP Multiple Choice Questions & Answers (MCQs) focuses on “PHP Filter”. Q 1. Which of the following is/are an external data? i) Cookiesii) Input data from a formiii) Server Variablesiv) Web services dataA. Only ii)B. ii) and iii)C. Only iii)D. i), ii), iii) and iv) Show Answer Answer:-D. i), ii), iii) and iv) Explanation The…
-
PHP Questions & Answers – Exception Handling
PHP Multiple Choice Questions & Answers (MCQs) focuses on “Exception Handling”. Q 1. Which version of PHP was added with Exception handling?A. PHP 4B. PHP 5C. PHP 5.3D. PHP 6 Show Answer Answer:-B. PHP 5 Explanation Exception handling was added to PHP with the version 5 release, and further enhanced with version 5.3. Q 2. How…