BanglaData.Blogspot.Com

BanglaData.Blogspot.Com

বাংলা তথ্য ভান্ডারে স্বাগতম

সকল তথ্য পাবেন....BanglaData তে

Welcome To BanglaData

Keep visiting @ BanglaDataBlog

বুধবার, ২৮ অক্টোবর, ২০১৫

MySQL MCQ Test

MySQL MCQ Test – 1


Que.1. BLOB data type can have default column value.
A.    True
B.     False
Right Answer: B
Que.2. User() function return the current user name and ___________
A.    password
B.     host name
C.    both a and b above
D.    database name associated with the user
Right Answer: B
Que.3. Can DISTINCT command be used for more than one column?
A.    No
B.     Yes
Right Answer: B
Que.4. How much storage space does DATETIME require?
A.    4 bytes
B.     2 bytes
C.    8 bytes
D.    1 bytes
Right Answer: C
Que.5. Which of the following file extension is valid MyISAM file extension?
A.    .ism
B.     .myd
C.    .my
D.    .mys
Right Answer: B
Que.6. –i-am-a-dummy flag is used Make the MySQL engine refuse UPDATE and which other command?
A.    WHERE
B.     INSERT
C.    DELETE
D.    TRUNCATE
Right Answer: C
Que.7. On executing DELETE command, if you get an error “foreign key constraint” – what does it imply?
A.    Foreign key not defined
B.     Table is empty
C.    Connectivity issue
D.    Data is present in the other table
Right Answer: D
Que.8.  Can I call  a trigger directly from an application?
A.    Yes
B.     No
Right Answer: B
Que.9. What is a candidate key?
A.    Used to uniquely identify a row
B.     Alias for primary key
C.    Used to identify a column
D.    Alias for foreign key
Right Answer: A
Que.10. Which is the default order of sort in ORDER BY clause?
A.    Ascending
B.     Descending
Right Answer: A
Que.11. Can I define multiple unique constraints on a table?
A.    Yes
B.     No
Right Answer: A
Que.12. How can we get the number of records or rows in a table?
A.    Using COUNT
B.     Using NUM
C.    Using NUMBER
D.    Both a and c above
Right Answer: A
Que.13. Which of the following ways below are the correct way to get the current date?
A.    SELECT CURTIME();
B.     SELECT CURDATE();
C.    SLELCT CURRRENT_TIME()
D.    All of the above
Right Answer: D
Que.14. USE keyword is used to select a ____________________
A.    Table
B.     Column
C.    Database
D.    All of the above
Right Answer: C
Que.15. How do I find out all databases starting with `test to which I have access to ?
A.    SHOW DATABASES LIKE `%test%`;
B.     SHOW DATABASES LIKE `%test;
C.    SHOW DATABASES LIKE `’test’%’;
D.    SHOW DATABASES LIKE `%test%’;
Right Answer: D
Que.16. A view is nothing but a _____________ table or a stored query.
A.    Dynamic
B.     Real
C.    Virtual
D.    Static
Right Answer: C
Que.17. When do we use a HAVING clause?
A.    To limit the output of  a query
B.     To limit the output of a query using an aggregate function only
C.    When GROUP by is used
D.    Both a and c above
Right Answer: B
Que.18. An outer join requires each record in the two joined tables to have a matching record
A.    True
B.     False
Right Answer: B
Que.19. Enum values are stored according to their index numbers
A.    True
B.     False
Right Answer: A
Que.20. If an ENUM column is declared NOT NULL, its   default value is the first element of the list of allowed values.
A.    True
B.     False, ENUM column cannot be null
C.    False, its default value is the last element of the list of allowed values
Right Answer: A

HTML MCQ Test

HTML MCQ Test – 1


Que.1. Which of the following attribute(s) isn’t supported by HTML 5?
1)      frameborder
2)      scrolling
3)      marginewidth
4)      margineheight
A.    1 and 2
B.     3 and 4
C.    All choices are correct
D.    None of these
Right Answer: C
Que.2.  Following method is used to get the current location of the user in Geolocation in HTML 5?
A.    getCurrentPosition()
B.     getPossition()
C.    getLocation()
D.    getCurrentLocationning n()
Right Answer: A
Que.3. SVG graphics do not lose quality when they are realized?
A.    True
B.     False
C.    Can’t determine
D.    None of the above
Right Answer: A
Que.4. Which modern browser does not support the HTML 5 tags?
A.    IE 8
B.     Safari
C.    Mozilla
D.    Opera
Right Answer: A 
Que.5. Which attribute allows the inline frame to appear as though it is being rendered as part of the containing document?
A.    sandbox
B.     seamless
C.    src
D.    srcdoc
Right Answer: B
Que.6. In SVG, each drawn shape or figure is considered or remembered as _________.
A.    Class
B.     Object
C.    Method
D.    None
Right Answer: B
Que.7. Graphics defined by SVG is in _______________format.
A.    HTML
B.     XML
C.    XHTML
D.    DTD
Right answer: B
Que.8. Which of the following is HTML 5 - based sketching app that works in all morden browsers?
A.    Muro
B.     hootsuite
C.    X-worlds
D.    csswrap
Right Ansewer: A
Que.9. How many graphic object types are allowed by SVG?
A.    2
B.     5
C.    3
D.    7
Right Answer: C
Que.10. What do you mean by SVG?
A.    Secondary vector  graphics
B.     Scalable vertical graphics 
C.    Scalable vector graphics
D.    Scalable vector graph
Right Answer: C
Que.11. Ancestor of all elements on the page is called _________________.
A.    parent
B.     ancestor
C.    root element
D.    siblings
Right Answer: D
Que.12. Frame concept is available in HTML 5
A.    YES
B.     NO
Right Answer: B
Que.13. What is W3C?
A.    World Wide Web Consortium
B.     World Wide Web Corporation
C.    World Wide Web Company
D.    World Wide Web Controlling
Right Answer: A
Que.14. Which attribute enables a set of extra restrictions on content hosted by the <iframe> ?
A.    src
B.     name
C.    srcdoc
D.    sandbox
Right Answer: D
Que.15.  ____________ allows you to set some element to be editable inside the browser.
A.    spellcheck
B.     contenteditable
C.    dropzone
D.    contentmenu
Right Answer: B
Que.16 If the browser does not support the srcdoc attribute, it will use the __________ provided by the src attribute.
A.    URL
B.     source
C.    documents
D.    path
Right Answer: A
Que.17. In SVG, there is a Support for event handlers.
A.    True
B.     False
C.    Can’t determine
D.    None
Right Answer: A
Que.18. It is possible to use HTML 5 for the mobile application?
A.    Yes
B.     No
Right Answer: A
Que.19. In HTML 5 width attribute specifies the width of the ___________
A.    inline frame
B.     outline frame
C.    frameset
D.    table
Right Answer: A
Que.20. HTML is based on which language
A.    XHTML
B.     XML
C.    SGML
D.    DTD
Right Answer: C