Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
එක පැකේජ් එකයි මාසෙටම Unlimited Internet. තාමත් DATA CARD දාන්න සල්ලි වියදම් කරනවද? අඩුම මිලට අපෙන්.
sayuru bandara
Updated:
Tuesday at 12:30 PM
Ad icon
ඉන්ටර්නෙට් එකෙන් හරියටම සල්ලි හොයන්න සහ Success වෙන්න කැමතිද? 🚀 (E-Money & Success Stories)
siri sumana
Updated:
Saturday at 11:44 PM
Gemini AI PRO 18 months Offer
Hawaka
Updated:
May 27, 2026
Ad icon
koko account
DasunEranga
Updated:
May 27, 2026
Ad icon
koko account
DasunEranga
Updated:
May 27, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
Education
Offical Java Thread
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="h_abeysinghe" data-source="post: 10059875" data-attributes="member: 123721"><p>menna katiyata podi Quiz ekak <img src="/styles/default/xenforo/smilies/default/D.gif" class="smilie" loading="lazy" alt=":D" title="Big grin :D" data-shortname=":D" /></p><p>meka ape skul eke dunna 1st basic Quiz eka <img src="/styles/default/xenforo/smilies/default/D.gif" class="smilie" loading="lazy" alt=":D" title="Big grin :D" data-shortname=":D" /></p><p>onna patan gannwa <img src="/styles/default/xenforo/smilies/default/D.gif" class="smilie" loading="lazy" alt=":D" title="Big grin :D" data-shortname=":D" /> isselama MCQ 10k tiyenwa </p><p>4k writing tiyenwa <img src="/styles/default/xenforo/smilies/default/D.gif" class="smilie" loading="lazy" alt=":D" title="Big grin :D" data-shortname=":D" /></p><p>total marks=21 </p><p> balanako serama karala kiyak tiyeda kiyala, <img src="/styles/default/xenforo/smilies/default/yes.gif" class="smilie" loading="lazy" alt=":yes:" title="Yes :yes:" data-shortname=":yes:" /> mama nam 21/21 gattha <img src="/styles/default/xenforo/smilies/default/D.gif" class="smilie" loading="lazy" alt=":D" title="Big grin :D" data-shortname=":D" /> me post eke MCQ dala anith eke writen question 4 danam <img src="/styles/default/xenforo/smilies/default/D.gif" class="smilie" loading="lazy" alt=":D" title="Big grin :D" data-shortname=":D" /></p><p></p><p><span style="font-size: 18px"><strong>MCQ</strong></span></p><p><strong><span style="color: Blue"><u>1.Which is another name for package?</u></span></strong></p><p> a. object</p><p> b. library</p><p> c. method</p><p> d. string</p><p></p><p><strong><span style="color: Blue"><u>2.Which is a set of guidelines for writing an application?</u></span></strong></p><p> a. algorithm</p><p> b. code conventions</p><p> c. comments</p><p> d. class</p><p></p><p><strong><span style="color: Blue"><u>3.Which statement displays </u></span><span style="font-family: 'courier new'"><span style="color: Blue">Hello, world!</span></span><span style="color: Blue"><u> on the screen?</u></span></strong></p><p> a. <span style="font-family: 'courier new'">System.out.println("Hello, world!");</span></p><p> <span style="font-family: 'courier new'"></span> b. <span style="font-family: 'courier new'">system.println("Hello, world!");</span></p><p><span style="font-family: 'courier new'"> </span>c. <span style="font-family: 'courier new'">System.println('Hello, world!');</span></p><p><span style="font-family: 'courier new'"> </span>d. <span style="font-family: 'courier new'">System.out.println('Hello, world!');</span> </p><p></p><p><strong><span style="color: Blue"><u>4.Which is used to enclose single or multiline comments?</u></span></strong></p><p> a. \* *\ </p><p> b. /* */</p><p> c. // //</p><p> d. \\ \\</p><p></p><p><strong><span style="color: Blue"><u>5.What effect does <span style="font-family: 'courier new'">\n</span> have when included in an output string?</u></span></strong></p><p> a. A <span style="font-family: 'courier new'">\n</span> is displayed in the output.</p><p> b. A <span style="font-family: 'courier new'">N</span> is displayed in the output.</p><p> c. A tab (8 spaces) is displayed in the output. </p><p> d. Output is moved to the next line.</p><p></p><p><span style="color: Blue"><u><strong>6.What effect does <span style="font-family: 'courier new'">\t</span> have when included in an output strin</strong>g?</u></span></p><p> a. A <span style="font-family: 'courier new'">\t</span> is displayed in the output.</p><p> b. Output is moved to the next line.</p><p> c. A <span style="font-family: 'courier new'">T</span> is displayed in the output. </p><p> d. A tab (8 spaces) is displayed in the output.</p><p></p><p><span style="color: Blue"><strong><u>7.The <span style="font-family: 'courier new'">main()</span> method is defined as</u></strong></span></p><p> a. <span style="font-family: 'courier new'">public static void main(string[] args)</span></p><p><span style="font-family: 'courier new'"></span> b. <span style="font-family: 'courier new'">public static void Main(String[] args)</span> </p><p> c. <span style="font-family: 'courier new'">public static void main(String[] args)</span></p><p><span style="font-family: 'courier new'"></span> d. <span style="font-family: 'courier new'">public static main(String[] args)</span></p><p></p><p><span style="color: Blue"><strong><u>8.Which describes the output displayed by the statement:</u></strong></span></p><p><strong><span style="font-size: 10px">System.out.format("%-10s %10s %8s", "Item", "Quantity", "Cost\n");</span></strong></p><p><strong></strong> a. Item,Quantity, and Cost will be left aligned.</p><p> b. Item will be left aligned, Quantity and Cost will be right aligned.</p><p> c. Item, Quantity, and Cost will be right aligned.</p><p> d. Item will be right aligned, Quantity and Cost will be left aligned.</p><p></p><p><span style="color: Blue"><strong><u>9.What does the following symbol indicate in a flow chart?</u></strong></span></p><p><img src="http://www.georgehernandez.com/h/xComputers/UML/Media/Symbol_Oval.gif" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p>a. Process </p><p>b. Start or End </p><p>c. Input or Output</p><p>d. Selection </p><p></p><p><span style="color: Blue"><strong><u>10.What does the following symbol indicate in a flow chart?</u></strong></span></p><p><img src="http://www.georgehernandez.com/h/xComputers/UML/Media/Symbol_Rectangle.gif" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p>a. Start or End</p><p>b. Process </p><p>c. Selection </p><p>d. Input or Output</p></blockquote><p></p>
[QUOTE="h_abeysinghe, post: 10059875, member: 123721"] menna katiyata podi Quiz ekak :D meka ape skul eke dunna 1st basic Quiz eka :D onna patan gannwa :D isselama MCQ 10k tiyenwa 4k writing tiyenwa :D total marks=21 balanako serama karala kiyak tiyeda kiyala, :yes: mama nam 21/21 gattha :D me post eke MCQ dala anith eke writen question 4 danam :D [SIZE=5][B]MCQ[/B][/SIZE] [B][COLOR=Blue][U]1.Which is another name for package?[/U][/COLOR][/B] a. object b. library c. method d. string [B][COLOR=Blue][U]2.Which is a set of guidelines for writing an application?[/U][/COLOR][/B] a. algorithm b. code conventions c. comments d. class [B][COLOR=Blue][U]3.Which statement displays [/U][/COLOR][FONT=courier new][COLOR=Blue]Hello, world![/COLOR][/FONT][COLOR=Blue][U] on the screen?[/U][/COLOR][/B] a. [FONT=courier new]System.out.println("Hello, world!"); [/FONT] b. [FONT=courier new]system.println("Hello, world!"); [/FONT]c. [FONT=courier new]System.println('Hello, world!'); [/FONT]d. [FONT=courier new]System.out.println('Hello, world!');[/FONT] [B][COLOR=Blue][U]4.Which is used to enclose single or multiline comments?[/U][/COLOR][/B] a. \* *\ b. /* */ c. // // d. \\ \\ [B][COLOR=Blue][U]5.What effect does [FONT=courier new]\n[/FONT] have when included in an output string?[/U][/COLOR][/B] a. A [FONT=courier new]\n[/FONT] is displayed in the output. b. A [FONT=courier new]N[/FONT] is displayed in the output. c. A tab (8 spaces) is displayed in the output. d. Output is moved to the next line. [COLOR=Blue][U][B]6.What effect does [FONT=courier new]\t[/FONT] have when included in an output strin[/B]g?[/U][/COLOR] a. A [FONT=courier new]\t[/FONT] is displayed in the output. b. Output is moved to the next line. c. A [FONT=courier new]T[/FONT] is displayed in the output. d. A tab (8 spaces) is displayed in the output. [COLOR=Blue][B][U]7.The [FONT=courier new]main()[/FONT] method is defined as[/U][/B][/COLOR] a. [FONT=courier new]public static void main(string[] args) [/FONT] b. [FONT=courier new]public static void Main(String[] args)[/FONT] c. [FONT=courier new]public static void main(String[] args) [/FONT] d. [FONT=courier new]public static main(String[] args)[/FONT] [COLOR=Blue][B][U]8.Which describes the output displayed by the statement:[/U][/B][/COLOR] [B][SIZE=2]System.out.format("%-10s %10s %8s", "Item", "Quantity", "Cost\n");[/SIZE] [/B] a. Item,Quantity, and Cost will be left aligned. b. Item will be left aligned, Quantity and Cost will be right aligned. c. Item, Quantity, and Cost will be right aligned. d. Item will be right aligned, Quantity and Cost will be left aligned. [COLOR=Blue][B][U]9.What does the following symbol indicate in a flow chart?[/U][/B][/COLOR] [IMG]http://www.georgehernandez.com/h/xComputers/UML/Media/Symbol_Oval.gif[/IMG] a. Process b. Start or End c. Input or Output d. Selection [COLOR=Blue][B][U]10.What does the following symbol indicate in a flow chart?[/U][/B][/COLOR] [IMG]http://www.georgehernandez.com/h/xComputers/UML/Media/Symbol_Rectangle.gif[/IMG] a. Start or End b. Process c. Selection d. Input or Output [/QUOTE]
Insert quotes…
Verification
Asuwa dahayen wadi kalama keeyada?
Post reply
Top
Bottom