Friday, February 15, 2019

007 An Online Clickable Multiple Choice Questions Quiz No.92153 on Computers and IT


Here is a TEN Multiple Choice Question Test on your favorite subject. These questions can be answered online, and score can be checked by clicking `getscore` button at the top of the questions or at the bottom of the questions. There are minus marks of 0.5 (half mark) for each wrong answer. If any questions are left out, there will be no change in score. Answers for each question can also be checked by moving your mouse on the word `mouse` at the end of each question. You can try and retry any number of times.


I undertake English, Hindi, Telugu language Translations. My labor charges: Ind. Rs. 110 per input page. E-mail input files to y b h a s k at g m a i l .com. No need to phone.

MULTIPLE CHOICE QUESTIONS TEST No. 92153


You will get your scoresheet here



1: COMPUTERS: Which of the following is not a database program?
21 a`Oracle b`SQL c`php d`Adabas --mouse here to see answers.


2: COMPUTERS: Text typed into a computer, usually appears at
38 a`cursor b`pointer c`scroller d`any one --mouse here to see answers.


3: COMPUTERS: A number of chips mounted on a single circuit board is:
17 a`daughter-board b`father-board c`mother-board d`none --mouse here to see answers.


4: COMPUTERS: XUL - full form is Extensible ___ Language.
40 a`Utility b`User-Interface c`Universal d`User-Markup --mouse here to see answers.


5: COMPUTERS: Emails were originally convenient for communicating ___ data.
40 a`7 bit ASCII b`8 bit ASCII c`uuencodes d`uudecodes --mouse here to see answers.



6: COMPUTERS: ___ can directly input printed text.
21 a`MICR b`OCR c`OMR d`all --mouse here to see answers.


7: COMPUTERS: A sort of middle path between hardware and software is
54 a`shareware b`freeware c`firmware d`none --mouse here to see answers.


8: COMPUTERS: Computers playing chess, prescribing medicines, recognising speech and handwriting can be termed as
43 a`artificial intelligence b`natural intelligence c`clairvoyance d`superintendence --mouse here to see answers.


9: COMPUTERS: Schema in XML represents a collection of
17 a`data b`procedures c`fields d`blocks --mouse here to see answers.


10: COMPUTERS: WYSIWYG full form is
45 a`What You Sow Is What You Get b`What You See is What You Get c`What You Sow is What you Give d`What you say is what you get --mouse here to see answers.

Tuesday, August 28, 2018

006 Free php Script for a Personal Accounts Manager


Requirements for using offline on a laptop / p.c.: 1. Apache2 server, with php support. 2. Suitably changing the Configuration of the 'public_html' (or any other folder, for use as localhost, by giving Read, Write, Create files. For entering transactions, a simple Text Editor such as Notepad, Gedit, Geany can be used, and the transaction file is to be saved by giving 'mychoicename.txt'. For preparing accounts, Trial Balance, Income and Expenditure, Balance Sheet, the a .php file name (Example mychoicefilename.php) in browsers such as firefox.

Where is the script?

Ans: The following is the script shown in red color in the following Text Area. Press 'Control A', select it, copy it to clip board, then paste it in a mychoicefilename.php file opened in a Text Editor. Save it as a .php file. This file is to be saved in in the 'Public_html' folder (or any other similar name) or in a new folder within the Public_html folder which is configured as 'localhost' in apache2 and php settings.

Read write, create file permissions are important.

Question: Will the Script Work in Windows / Linux / Mac. ?


As the script is browser based, it should work platform-independently. I have tried in Linux-Ubuntu-15.04 and Windows. It worked.



Is there any method/structure for each transaction to be entered in the txt file of transactions?


Ans: The structure is important, becausing we shall be using a mychoicefilename.txt as a sort of database. In a formal database we come across rows and columns in tables. Those who are familiar with DBMS, RDBMS, sqlite, mysqlite etc. know it.

To avoid the complexities of using databases, particularly when confidentiality and security are not important, we are using a simple txt file separated by delimiters, as database.

In our Manager, we are using '2 line feeds (double line spacing) to separate one record from another record. (Each transaction is taken as a record, and entered in double line spacing.)

Incomplete.

Wednesday, September 17, 2014

005 Geany Portable for linux OS users like Ubuntu

005 Geany Portable for linux OS users like Ubuntu
005 జీని పోర్టబుల్ --ఉబుంటు వంటి లైనక్స్ ఓ.ఎస్. లు వాడే వారి కొరకు
००५ जीनी पोर्टबुल -- उबुंटु आदी लैनक्स ओ.ऎस. उपयोग करने वालों के लिये.


The main benefit of using portables, is they need no installation. పోర్టబుల్ సాఫ్టవేర్ ను వాడటం లో ముఖ్య లాభం ఏమిటంటే వాటిని ఇన్స్టాల్ చేయనవసరం లేదు. पोर्टबुल साफ्टवेर उपयोग करने से मुख्य फाईदा यह है कि: उन को इनस्टाल करने का जरूरत नहीँ है।

I find that we may not be able to get GEDIT portable, but we can get Geany portable for Linux OS. నేను గమనించింది ఏమిటంటే, మనకు జీ ఎడిట్ పోర్టబుల్ లైనక్స్ లభించక పోవచ్చు కానీ, జీనీ పోర్టబుల్ లైనక్సు అప్లికేషన్ లభిస్తుంది. मै देखा हुँ कि: हमारे के लिये जीऎडिट पोर्टबुल लैनक्स नहीँ मिल् रहा है, परन्तु, जीनी पोरटबुल लैनक्स मिल रहा है।

Link for downloading. డౌన్ లోడ్ చేసుకోటానికి లింకు. डौनलोड करने के लिये लिंक: Click.

We can at present get get portable geany version 0.19.1. It is just 3.8 mb size. మనం ప్రస్తుతం జీనీ పోర్టబుల్ 0.19.1 ని మనం ఇక్కడ డౌన్ లోడ్ చేసుకోవచ్చు. वर्तमान में आज हम जीनी पोर्टबुल वॆर्षन 0.19.1 को डौनलोड कर सकते।

When they upload newer versions in this page, you can download them also. వాళ్ళు ఈ పేజీ లో ఇంకా కొత్త వెర్షన్ లను అప్ లోడ్ చేసినపుడు, మీరు ఈపేజీలో వాటిని డౌన్ లోడ్ చేసుకోవచ్చు. जब वे नये वॆर्षन अपलोड करेगे, तब आप नये वॆर्षन को भी डौन लोड कर सकते हैं।

One important strength of the above Geany Portable is we can make a Regex based search and replace, while in Gedit for Regex search, we need a separate plugin. జీనీ పోర్టబుల్ లో గొప్ప సుగుణం ఏమిటంటే మనం రెజెక్స్ ఆధారిత వెతకటం, మార్పిడీలు చేయటం తేలిక. అదే జీ ఎడిట్ లో అయితే మనం ప్రత్యేక ప్లగ్ ఇన్ ను డౌన్ లోడ్ చేసుకోవాలి. जीनी में एक सुगुण यह है कि: हम रॆजॆक्स आधारित खोज और स्थानभ्रंश (बदला) कर सकते। जीऎडिट मॆं हम अतिरिक्त प्लगिन डौनलोड करना आवस्य होता है।

In Geany, if we want, we can carry out find and replacement in the selected portion of the documents, instead of Replace All in the entire document, whereas in Gedit we cannot do it without special plugins. జీనీ లో మనకు కావాలంటే, దస్తావేజ్ లో , ఎన్నిక చేసిన ప్రదేశంలో మాత్రం అన్వేషణ-మార్పులను పూర్తిచేసుకోవచ్చు. జీఎడిట్ లో రీప్లేస్ ఆల్ మొత్తం డాక్యుమెంటుకు చేస్తానంటుంది. जीनी में, हम चाहे तो, खोज और भ्रंश सिर्फ चुना हुआ जगहों में कर सकते। जीऎडिट में रीप्लेस आल पूरे डाक्युमॆंट मॆं करना होगा।

Saturday, August 24, 2013

004 Sticky footer problem finally solved

Today's Picture:

For the last one year, I have been facing the problem of sticky footer at a sub-domain website of mine. To avoid the embarrassing situation of footer appearing in the middle of the page, I had to remove the footer and allow all the three dynamic columns (left, middle, right), which do not have fixed height.

I use the following layout:
Top one division with 100% width.
Next:
left div with width of approx.20%.
middle div starts at 21% with width of 59%.
right div starts at 81% with width of 18%.
All the columns have borders.
All the columns get their data from php/html files. Hence, their height varies. Giving a fixed height, and overflow-scroll, I used for sometime. But, somehow, it did not satisfy me.


Visiting numerous websites containing css support threads educated me, but could not solve my problem because of the burden of three dynamic divs.


Finally, today, I could solve the problem by using a very simple technique. For the benefit of my readers, I present it below.


Last column, last division in my above layout, usually gets the highest height. It starts at 81% margin-left, with 18% width, 1% border, ends at 100%.

Here I added the following style:

<div style='position:relative; overflow:auto; ' > Content.

</div>.

Now, the footer div:

<div style='width:100%; float:left; height:60px; background:#aaaaff;'>
content.
</div.>


All the divisions, have their position:absolute. Exception is the last and lengthiest right division.


You can also see this demo at alternate site: ayyo.x10.mx.

If the above technique does not work, probable reasons

Pl. check up all the previous divisions, whether they have proper closing tags and some other errors, which may be affecting their position, and float.

Friday, February 15, 2013

003 Geany or Gedit which is better?



Question: Geany or Gedit, which is better?


Latest answer added on 29.8.2018, after using both Geany and Gedit for about ten years:


In my pesonal view, the greatest merit of Geany over Gedit is, Geany's convenient and nearly unlimited additions to the Snippets.conf file. This Snippets file is something similar to 'Auto-complete' in MS Word. But Geany Snippets are more flexible and convenient than the Autocomplete in MS Word.

The Snippets file in Gedit requires identification of a hotkey for each snippet. As the availability of hotkeys will be limited, soon we get exhausted of the hotkeys. Adding snippets and hotkeys in Gedit is more complicated.
Previous answer given by me some years back: Gedit is the default text editor which we get with Ubuntu.
It is an excellent text editor, particularly for regex based searches and replacements.
But, I feel that, it is slow in saving large files.
It may, sometimes, hang on.
For editing codes such as html, javascript and php,  gedit has good color combinations.

Geany on the other hand needs download.
sudo add-apt-repository ppa:geany-dev/ppa
sudo apt-get update
sudo apt-get update sudo apt-get install geany
sudo apt-get intall geany-plugins.

Geany is particularly convenient for handling very large-files. It saves almost instantly.

summary: For editing short-files, I prefer gedit. For editing-long-files, I prefer geany.   For editing codes, I suggest gedit.  For editing texts, I suggest geany.
How to avoid sudo every-time?
At the command-line, we have to type the following: sudo -i and press enter key. We have to give super-user password, when the system prompts. The terminal line will change from $ to #. User name will change to root.

Incomplete. More content will be added shortly.

Tuesday, January 29, 2013

002 Nautilus BETTER THAN filezilla

I am a linux-fan. Ubuntu flavor of linux. 10.10 version.
Tired of Windows concealing ways, I shifted to ubuntu about two years back.
I regularly depended on the command sudo apt-get install ... for installing new packages. It has never disappointed me for a long time.
use dual boot grub of ubuntu with windows xp : sometimes, I had some successes but failures were more. Windows used failed to boot and I had to reinstall. Every reinstall of windows ate the grub in my dev/sda, owing to intolerance of windows towards other operating systems. As re- and re- installations of Ubuntu were easier than windows, I re- and re- installed Ubuntu.
Reinstallations of Ubuntu were resulting in loss of many packages I got using apt-get install commands, getting deb files, and configuring tar files.
Recently, it seems that Ubuntu stopped supporting updates for 10.10 version. It also seems that they withdrew support for some repositories, which we could include with the command add-apt-repository ppa:., or by gediting source.list file.
Consequently, I found that it is frustrating to install packages like aptitude, gparted and filezilla or gftp. Downloading dependencies seems to be a heavy and costly affair. For example, for sudo apt-get install of gpartem, I get a command line reply message of needing to download 398 mbs of dependencies for the installation.
The same is the case with filezilla. Though, I downloaded the tar (zip in windows lingo) files of filezilla, and tried to configure and make files, I got error messages of missing dependencies.
I learnt over internet, that Nautilus file Manager, available with Ubuntu, by default is very useful.
Steps for using Nautilus:
Places. Desktop option. Desktop folder will appear. File Menu. Connect to Server option. Various choices appear. We type the ftp address, user-name, and password if any for logging into the ftp server (our host). When our root directory appears, uploading of files will only be a drag and drop / copy-paste affair.
Though Nautilus file manager, may miss some of the extra functionalities of filezilla, by and large it serves our purpose.

Added on 24th August 2013.

After working for several months with nautilus, I have come to a reasonable conclusion that it is better than filezilla. Though filezilla is free, Nautilus is more convenient because it comes free and as DEFAULT with ubuntu (I use ubuntu 10.10). Whenever we format and reinstall or reinstall ubuntu, we need not worry about getting filezilla.

Saturday, December 15, 2012

001 Introduction

TODAY'S PICTURE

Question: You already have about 66 blogs. Many of these blogs, do not have postings for the last several months. They have become nearly orphans, or uncared children. Why do you add one more blog?
Ans: I always felt that I should not add more blogs. But, I have developed an irresistable feeling today, that I must share my experiences with the information technology and computers, with my readers, so that some of the scripts I write here may save them from the pains and strains of re-discovering or rebuilding the Rome.

First of the first: I must express my sincere gratitude to hundreds of IT-computer guides and sharers, IT-computer free websites, who have worked as NEARLY SELF-LESS UNPAID TEACHERS of information technology.

I must make special mention of the Linux-Ubuntu-launchpad-debian-gnome-kubuntu (list incomplete) community who gave everything free of cost and open source. The offline and online computer world would have been miserable, in the absence of these divine Marxist-socialist souls (they might not have declared themselves so), having been abandoned to the rapacious Microsoft, Windows and the likes.

I must express my profound thanks to the creators of javascript and php scripts, and the apache server, all of which are free.

My presentations at this blog, most of the time, I foresee will mainly contain some javascripts and php scripts. I am a beginner and may be committing errors or not following the conventions of coding. Readers will please bear with me. I am not a professional. I am presenting these codes, more as an 'end-user' myself and not as an I.T. professional. Hence, an appeal for some allowances, leeways, margins and tolerances.

Nevertheless, free, frank, tough criticism is welcome, as long as obscene language is not used.