Home / Yashika / Programming Language MCQs
You will find all MCQs which are added in Programming Portal by Yashika
Q. What is the output of this C code?
Q. Comment on the output of following C code.
Q. Which part of the program address space is p stored in the following C code?
Q. What will be the output of the following C function when EOF returns?
Q. What are the elements present in the array of the following C code?
Q. What is the meaning of the following C statement?
Q. Which option should be selected to work the following C expression?
Q. What is the problem in the following C declarations?
Q. What will be the data type returned for the following C function?
Q. Where can I find the printer device? In _______ directory.
Q. Which of the following statements is true?
Q. Which UNIX command is used to update the modification time of a file?
Q. How many links are created when we create a directory?
Q. A user creates a link to “file1” with the following command Which of the following statements is not true when listing the details of the link created?
Q. There are two physical links to “file1” which are “p1” and “p2” and one symbolic link “s1”. What happens if we delete “file1”?
Q. If two files are on the same partition and point to the same inode, they are called ______
Q. Delete a symbolic link meaning that ________
Q. Creation of physical links pointing to partitions ____
Q. Which command is used to change file and directory permissions?
Q. Binary or executable files are _____ ?
Q. The file’s attribute information is stored in which structure on the disk?
Q. Which file contains the file systems to be mounted automatically at boot time?
Q. ______ is a directory (which should exist) on which we mount the file system?
Q. Which command is used to mount the file system as read-only?
Q. Which of the following options provides fast file system recovery?
Q. Which file system can be used to change some kernel parameters using the “sysctl” command?
Q. The CDROM file system is _______
Q. Which file system has the ability to do logging?
Q. Which command is used to check file system usage?
Q. Which of the following is used to associate a font name to be used in a style sheet with some downloadable font?
Q. Which of the following is not value for the font-stretch(Font descriptor)?
Q. Which of the following font format is supported by all the latest browser?
Q. Which of the following media query describe output style portrait if height is greater than or equal to width, landscape if the opposite?
Q. Which of the following media query describe the ratio of the width to the height of the media?
Q. Which of the following media query describe describes the height of the screen or full height of the output page?
Q. Which of the following property sets the style of a font?
Q. Which of the following property specifies whether an element is an accelerator indicator or not?
Q. Which of the following property sets a variation of the specified or default font family?
Q. The @font-face rules assign different names to the regular and bold versions of the font.State true or false.
Q. URL is
Q. Which scheme is used for secure HyperText Transfer Protocol?
Q. ASCII is _____________
Q. In URL encoding replaces non-ASCII characters with
Q. Which function is used in JavaScript for URL encoding?
Q. What is URL encode of ‘&’?
Q. Which of the following is not a reserved character?
Q. What is the URL Encode for tab character?
Q. Which of the following is not encode by encodeURI() function?
Q. Which of the following is used to decode the encoded URI?
Q. What is the URL Encode for the character ‘M’?
Q. Which of the following is not control character?
Q. What is the URL encoding of VT?
Q. Which is not a reserved character?
Q. Which one of the following options is the correct output for the given code of JavaScript?
Q. Which one of the following code is equivalent to the following given code?
Q. Which one of the following code is equivalent to call a function "x" of the class "a" which have two arguments g and h?
Q. What happens if the return statement has no related expression?
Q. In JavaScript, the definition of a function starts with____
Q. In which events/scenarios, A function name gets optional in JavaScript?
Q. The execution of a function stops when the program control encounters the _________ statement in the body of the function.
Q. If a function which does not return a value is known as
Q. What is the primary role of the "return ()" statement in a function body?
Q. What will be the output of the following JavaScript code?
Q. What output we may get if we execute the following JavaScript code
Q. What will happen if we execute the following piece of code?
Q. What will be the output of the following given code of JavaScript?
Q. What will happen if we use the "join()" method along with the "reverse()" method?
Q. Which one of the following given task is performed by the "pop()" method of the array?
Q. Both the "rduucedRight()" and "reduce()" methods follow which one of the following common operation?
Q. For which purpose the array "map()" methods is used ?
Q. Which one of the following method or operator is used for identification of the array?
Q. Which one of the following options is the correct output for the given code of javascript?
Q. Which one of the following options is the correct output for the given code of java script?
Q. What will be the output obtained by "shift ()" in the given code of JavaScript?
Q. Which of the following property adds padding to the top of an element?
Q. Which of the following display property value is described by treats the element as inline?
Q. Which of the following property defines the style for the bottom border of an element?
Q. Which of the following property defines the style for the left border of an element?
Q. Which of the following visibility property value is described by The element is not visible, but the layout of surrounding elements is not affected?
Q. Which of the following display property value is described by used internally by browsers to create list items. Of no practical value to web designers?
Q. Which of the following property controls the horizontal overflow of a block or inline block?
Q. Which of the following Overflow property value is described by scrollbars should be provided if the content is too big, but actual implementation is left up to the browser?
Q. Which of the following property sets a consistent margin on all four sides of the affected element?
Q. Which of the following box-sizing property value is described by width and height include content, padding, and borders?