Showing posts with label IT. Show all posts
Showing posts with label IT. Show all posts

Sunday, July 30, 2017

Why and When Should One Start Learning C#?

This post may be interesting for those who are just thinking of starting to learn programming, but are afraid to take the first steps because of the difficult, according to some opinions, theory.
For those who are willing to master a new sphere of knowledge and apply it in work – I’ll just mention – it's never too late to start learning – let it be programming or something else! If you have the motivation, desire to learn and the chosen subject area – just start learning!
Here, I’d like to tell a couple of words in favor of C# (C Sharp) technology. In the other articles, here at my blog, you may read professional materials on C# programming.
Now, let’s figure out why one should consider learning C# programming language?
     C# is a fairly young programming language. It appeared about 14 years ago and derived from C. So, it is a modern programming language, which gives the specialist, mastered it, an advantage on the IT market. Besides, there are a huge number of powerful libraries, tools for unit testing, and whatever else you need to create C# code.
     Unlike C, which is a low-level programming language, C# is a high-level language and the one easy to start with (in my opinion).
     C# is an object-oriented programming language. It gives the programmer a possibility to work on a high level of abstraction, which makes work much more effective. You don’t need to bother about memory allocations and many-many other low-level problems.
     It is extremely popular in different areas, based on C# you can create games, desktop application, and websites.
     C# is on 9 positions higher that Java and on 7 positions higher than C++ in a Most Loved programming languages category in Stackoverflow Developer survey.
This list of C# benefits may be continued, you are welcome to leave your vision on this topic in comments below the post.
Talking about learning C# for absolute beginners, there are many ways to do this:
1.      A professional approach is to apply to university program for Computer Sciences, where you’ll study all related subjects.
2.      Apply for a paid course, where a coach \ teacher – former or a current software developer will teach you with a group of people, and share his experience and knowledge.
3.      Start online programming course yourself. It may be a free or a paid one, you can find a bulk of them on the Internet. Here, I’d like advice free C# tutorial for absolute beginners – Codeasy.net, where you learn while reading an adventure story and fight with machines side-by-side with the characters of the story. It may be a good start for complete beginners, who are afraid of dry and complicated technical theory. Besides, this tutorial has practical tasks, so one can practice coding while reading the story. 

No matter which way you’ll choose, if you have the desire, hard working will lead you to success. Even if you want to try yourself as a programmer for self-development or as a hobby, then it's certainly never too late.

(Thanks to Julia Rybalkina @rybkayulia@gmail.com - Codeasy.)

Tuesday, September 8, 2015

Mobile Hardware and Servicing - Unit I - Part A

 PART – A (2 Marks)
(Minimum of 20 Questions in each Unit of type MCQ, True or False or open question type, no maximum limit)

Unit – I
1.      -----------------is  the inventor of the first portable handset.
a) Alexander Graham Bell      b) Thomas Alva Edison          c) Dr.  Martin Cooper             d) None
Answer: c) Dr.  Martin Cooper

2.      Expansion of GSM
a)      Global System for Mobile Communications        
b)      Global Standard for Mobile Communications
c)      General  System for Mobile Communications
d)     None
Answer: a) Global System for Mobile Communications

3.      CDMA stands for
a) Code Direct Multiple Access          b) Central Division Multiple Access
c) Code Division Multiple Access      d) None of these
Answer: c) Code Division Multiple Access

4.      GPRS stands for
a)      General packet radio system         b) General packet radio service
c)      General packet radio station         d) None
Answer: b) General packet radio service

5.      1G support only the _____________ Technology
a)      Digital       b) Analog        c) Both a)&b)  d)None
Answer: b) Analog

6.      Current measured in __________
a)      ampere  b) Volt     c) ohm             d) None of these
Answer: ampere 

7.      Voltage measured in____________
a)ampere  b) Volt        c) ohm             d) None of these
Answer: b) Volt

8.      Resistance  measured in____________
a)ampere  b) Volt        c) ohm             d) Mhz
Answer: c) ohm

9.      _________ is a passive two-terminal electrical component used to store energy electro statically in an electric field
a)Diode           b) Resister                  c) Capacitor   d) Transformer
Answer: c) Capacitor

10. ____________resists the flow of current in an electronic circuit
a)Diode           b) Resister                  c) Capacitor   d) Transformer
Answer: b) Resister

11.  _______is an electronic device that can allow the electric current to flow in one direction only
a)Diode           b) Resister                  c) Capacitor   d) Transformer
Answer: b) Resister

12.  Which components convert the sound waves to digital signal_________
a) Speaker       b) Microphone             c) vibrating motor       d) none
Answer:  Microphone
           
13.  Which components convert the digital signal to sound waves------------
Answer: a) Speaker

14.  ____________ is the important component of microphone
a) Silicon         b) diaphragm   c) resister         d) none
Answer: b) diaphragm

15.  LED stands for__________
a) Light Emitting Diode         b) Light Emitting Digital
c) Light Electrical Diode        d) none
Answer: a) Light Emitting Diode

16.  TFT stands for___________
a) Thin Film Transistor   b) Thin Film Transformer     c) Thick Film Transistor          d) None
Answer: a) Thin Film Transistor  

17.  ___________ is a safety device that lies in series in a circuit between an electrical source and its associated load.
a) diode           b) capacitor     d) fuse             d) resister
Answer: d) fuse        

18.  quartz crystal used to
a) Keep time                b) charging      c)filtering        d) None
Answer: a) Keep time          

19.  Capacitor unit measured by
a) Ampere       b) Volt             c) Farad           d) none
Answer: c) Farad     

20.  _________ is an instrument used to check for AC or DC voltages
a) Multimeter              a) Speaker       b) Microphone             c) vibrating motor

Answer: a) Multimeter

Sunday, January 25, 2015

One Day Workshop on Project Development using Visual Basic

One day Workshop on Project Development using Visual Basic 6.0 was handled by Dr. R. Muralidharan on 24-01-2015 (Saturday) at Sri Vasavi College (SFW) for the M.Com (CA) students.  
The session started with Project Development and Explains the need for Project Development and continues with the Visual Basic and Database via live sessions.
During the Afternoon session a project was designed and explained with ADO Control. The workshop concluded at 4.00 PM with a release of Department bulletin - The Vasavi COM, released by Dr. R. Muralidharan.

Session1

Session2




Saturday, March 8, 2014

Unix Commands

Unix is a computer operating system. An operating system is the software that provides the interface between the hardware of a computer system and the applications programs that are used on it. Simply put, the operating system provides the link between the hardware of the computer and the user. Popular operating systems include DOS (used on PCs) and VM/CMS (used on mainframes, now becoming rare). Unix is available on a wide variety of computer systems, including personal computers, workstations, mainframes and supercomputers. It was developed for, and is particularly well-suited to, multi-user systems, but is now also run on 'stand-alone' machines.

Unix was first developed in the early 1970s at Bell Laboratories in the USA. It was originally developed as a system to be used by the staff in the laboratories, and it was principally intended to provide an operating system that people would enjoy using. It was designed for users who were largely computer scientists, which may explain some of the more arcane and apparently unfriendly features of Unix, such as the obscure sounding command names. AT&T (the owners of Bell Laboratories) made Unix available at nominal cost to academic users, with whom it became popular. This helped to create a market for Unix, at a time when technological changes had themselves created a need for a portable multi-user operating system. As a result Unix began to be adopted by non-academic users in the 1980's as it became commercially available. Several standards are now being worked out, and Unix is steadily becoming the standard operating system in many environments.

time line of the different UNIX systems: HP-UX, AIX, BSD, IRIX, Mac OS X, ...
(Image Source)

Some Common Commands

Following are the link for Unix Commands




MS DOS Internal & External Commands

DOS Commands are instructions to perform tasks on files and directories. They are case insensitive. And as you already know, file is the area where we store group of information or data, and collection of group of files is called a directory.  

The internal commands reside in COMMAND.COM, which loads into memory when the computer system is started; these commands do not reside on disk. The external commands are files that do reside on disk and have an extension of .COM, .EXE, or .BAT. Both command types are executed from the MS-DOS prompt.


For Detailed Internal and External Commands with Examples.
Kindly refer the following link 




Under Creative Commons License: Attribution


Thursday, February 13, 2014

Operating System Questions - BU Previous



File System Notes
_____________________________________________________
IV SEMESTER B.C.A EXAMINATION ,MAY 2007

OPERATING SYSTEM

TIME:3 HRS
MAX MARKS:80

SECTION-A
ANSWER ANY EIGHT OF THE FOLLOWING(MARKS:8*3=24)

1.DEFINE AN OPERATING SYSTEM .DIFFERENTIATE BETWEEN ON-LINE AND OFF-LINE OPERATIONS
2.EXPLAIN ANY THREE SERVICES PROVIDED BY THE OPERATING SYSTEM
3.WHAT IS PCB?EXPLAIN BRIEFLY
4.EXPLAIN THE DIFFERENT PROCESS SCHEDULERS
5.BRIEFLY EXPLAIN DEADLOCK RECOVERY
6.WHAT IS CONTEXT SWITCHING?
7.WHAT IS SEGMENTATION?EXPLAIN
8.EXPLAIN LINKED ALLOCATION METHOD FOR FILES
10.GIVE ANY THREE FEATURES OF UNIX OPERATING SYSTEM

SECTION-B
ANSWER NY FOUR OF THE FOLLOWING(4*14=56)
11.a)EXPLAIN DISTRIBUTED OPERATING SYSTEM ALONG WITH ITS ADVANTAGES
b)EXPLAIN SYSTEM CALLS

12a)EXPLAIN READER-WRITER PROBLEM
b)DISCUSS ANY TWO METHODS OF DEADLOCK PREVENTION

13a)EXPLAIN ANY 4 PROCESS SCHEDULING CRITERIA
b)EXPLAIN ROUND ROBIN SCHEDULING ALGORITHM WITH EXAMPLE

14.a)EXPLAIN DEMAND PAGING WITH ILLUSTRATIVE EXAMPLE
b)EXPLAIN FIFO PAGE REPLACEMENT ALGORITHM WITH AN EXAMPLE

15a)DISCUSS ANY TWO DISK SCHEDULING ALGORITHMS
b)EXPLAIN ANY ONE DIRECTORY STRUCTURE

16 WRITE SHORT NOTES ON
a)FREE SPACE MANAGEMENT
b)SEMAPHORES
c)COMPACTION
___________________________________________________

Bachelor of Computer Application (BCA), NOV - 2009

Operating Systems


1. ____________ contains the most frequently used functions in operating system.
a. Monitor   b. Sceduling   c. Nucleus   d. None of the above 
 
2. The function of 'Ref' in Linux is ____________.
a. Pointer to this modules symbol table
b. List of modules that use this module
c. Starting address of module
d. Current state of module 

3. ____________ character is used to access any file on the disk.
A. Back slash
b. Forward slash
c. $
d. Double slash 

4. In modern operating system, ____________ is used to restore file system incase of disk crashes and system failure.
a. MVS
b. FAT
c. NTFS
d. None of the above 

5. The number of process running simultaneously and competing for the CPU is known as ____________ of multiprogramming.
a. Ratio
b. Depth
c. Degree
d. None of the above 

6. After termination, the operating system is put to - state for a while before removing all its detail from memory.
a. New
b. Halt
c. Blocked
d. Ready 

7. ____________ fit reduces search time considerably.
a. First
b. Best
c. Quick
d. None of the above 

8. A page modified in main memory is called as ____________ page.
a. Modified
b. Dirty
c. Changed
d. Altered 

9. In ____________, a secondary server takes over in case of primary server failure.
a. Server shared disk
b. Server connected to disk
c. Passive stand by
d. Active stand by 

10. Caching is used in ____________ clusters.
a. Beowulf
b. Windows 2000
c. Sun
d. None of the above 
---------
11. a. Describe the services of operating system in detail.

Or

b. Write a note on client/server model. 

12. a. Explain about the Booting concept.

Or

b. Describe the usage of device driver. 

13. a. What is context switching? Explain.

Or

b. Describe the different process states of operating system. 

14. a. State the usage of variable partition.

Or

b. Explain the working of compaction. 

15. a. Categorize the different classes of client/server applications.

Or

b. Explain the concept of W2K cluster server design. 

----------------------------------------
16. a. Elucidate the working of Time sharing system with example.

Or

b. Sketch the architecture of UNIX in detail. 

17. a. Give the structure of operating system with a neat diagram.

Or

b. Discuss about
i. File mounting and
ii. Disk formatting 

18. a. What is a process? Explain.

Or

b. Comment on process state transition. 

19. a. Explain the concept of paging. Use any one method and explain how PMT's implemented.

Or

b. Discuss any 5 page replacement policies with example. 

20. a. Describe the concept of Remote procedure call.

Or

b. Discuss about clusters. 

----------------------------

Wednesday, December 18, 2013

January/February 2014 digital edition of Oracle Magazine

 January/February 2014 digital edition of Oracle Magazine.
This issue includes the usual mix of news, community, customer-focus, and technology stories, with a special awards-season spotlight on the winners of the 2013 Oracle Excellence Awards. The January/February 2014 issue of Oracle Magazine presents award winners, conversations, mobile business intelligence applications, the Internet of Things, and still more in our continuing coverage of the event that is Oracle Database 12c, with hands-on technology articles that focus on top features in the new database release.
Here are some highlights from the January/February 2014 issue:
Cover Feature: 2013 Oracle Excellence Awards
Oracle customers and partners are technology pioneers, developing and implementing revolutionary new solutions with Oracle technology, and the Oracle Excellence Awards recognize these pioneers. In 2013, the Oracle Excellence Awards include nine award programs that celebrate leadership, technology, enterprise sustainability, database administration, and more. Meet the CIO of the Year winners and review winners enjoying their successes at Oracle OpenWorld 2013.
Interview: Interview (with podcast): Navigating the Internet of Things
Oracle's Peter Utzschneider discusses the challenges and changes presented by the proliferation of connected devices.
Business Analytics: Speed Mobile
Quickly deploy line-of-business mobile business intelligence apps with Oracle Business Intelligence Mobile App Designer.
Security: Hide from Prying Eyes 
Use Data Redaction in Oracle Database 12c to hide sensitive data automatically.
Ask Tom: Oracle Database 12c, Part 3
Our technologist improves partitions, adapts query plans, and optimizes statistics gathering.

Tuesday, December 17, 2013

Know about the Old Computers (TechRepublic post)

The following is the interesting thing about the old computers.

Techrepublic Post

Old Computer ads from www.oldcomputers.net

Photos of Computers  from www.oldcomputers.net - by clicking the photos the details of the computer appears

Facts about Old Computers  from www.oldcomputers.net


Tuesday, December 3, 2013

Most Useful Sites - IT

http://blog.softwarehouse.co/

http://www.itbusinessedge.com/

http://timesofindia.indiatimes.com/tech/tech-news

http://www.ittechnewsdaily.com/

http://www.techrepublic.com/

http://www.technologyevaluation.com/

Top Trends in 2013

Top Trends in 2013 - IT
  • Internet of Things
  • Cybersecurity
  • Big Data Visualization
  • Cloud Computing in Science and Engineering
  • Mobile Computing Meets the Cloud
  • Internet Censorship and Control
  • Interactive Public Displays 
  • Next-Generation Mobile Computing
  • 3D Imaging Techniques and Multimedia Applications
  • Safety-Critical Systems: The Next Generation
  • Multicore Memory Coherence
The above are the areas to be top in IT during 2013, since these areas are identified by IEEE for the their journal/magazine process. (Source : IEEE)

Monday, October 21, 2013

Microprocessor - Question Bank

QUESTION-BANK

Q1. Differentiate between microprocessor and microcontroller?
Ans.      1. Microprocessor is a general purpose devise
  2. Microcontroller is indented for a specific purpose
  3. Memory ,I/O devices etc need to be interfaced with microprocessor
  4. Microcontroller is having its own memory , I/O  etc integrated with it
  5. We can say that microprocessor is a cpu on a chip
  6.  Microcontroller is a system on a chip

Q2. What is an instruction queue? Explain?
Ans.  This is introduced in 8086 processor.This queue is in the BIU and is used for storing the predecoded instructions.This will overlap the fetching and execution cycle.
The E U will take the instructions from the queue for decoding and execution.

Q3. What is REP prefix? How it functions for string instructions?
Ans.  This REP prefix is used for repeating. The instruction with REP prefix will execute repeatedly till the count in the cx register will be zero. This can be used in with some of the string handling instructions.

Q4. Explain the instructions (i) LDS (ii) PUSHF (iii) TEST (iv) CLD
Ans.
i)                     LDS   : load pointer to DS
                         Move a 32 bit content from the memory given as source to 16
                         bit destination register specified and to DS register.

ii)                     PUSHF  : push the flag
                                After the execution the content of the flag register will be
                                pushed to the stack.The higher byte to sp-1 and lower to
                                sp-2

iii)                  TEST   : logical comparison
                            This will compare the source and the destination specified.
                            The result will be reflected only in the flag registers.
     
 iv)         CLD  : this will clear the direction flag.

Q5. What is stack? Explain the use and operation of stack and stack pointer?
Ans. A stack is a portion of the memory used for the temporary storage. A stack is a last
         In first Out memory. A stack grows in the decreasing order. A stack will hold the
         temporary information’s push and pop are the instructions used for storing and
         accessing data from the stack. Contents can be moved as 16 bit only using push and
         pop instructions.




Q6. What are the flags in 8086?
Ans. In 8086 Carry flag, Parity flag, Auxiliary carry flag, Zero flag, Overflow flag,
         Trap flag, Interrupt flag, Direction flag, and Sign flag.

Q7. What are the various interrupts in 8086? Explain.
Ans. Maskable interrupts, Non-Maskable interrupts.
i)  An interrupt that can be turned off by the programmer is known as Maskable
   interrupt.
ii)  An interrupt which can be never be turned off (ie.disabled) by the programmer
      is known as Non-Maskable interrupt.

Q8. Which interrupts are generally used for critical events?
Ans. Non-Maskable interrupts are used in critical events. Such as Power failure, Emergency, Shut off etc.

Q9. What is the effect of executing the instruction?
                                MOV CX, [SOURCE_MEM]
  Where SOURCE_MEM equal to 2016 is a memory location offset   relative to the current data segment starting at address 1A00016
Ans. Execution of this instruction results in the following:
                                                          ((DS) 0 + 2016) à (CL)
                                                          ((DS) 0 + 2016 + 116) à (CH)
In other words, CL is loaded with the contents held at memory address
                                                     1A00016 +2016 +116 =1A02116

Q10. The original contents of AX, BL, word-sized memory location SUM, and carry flag
         CF are 1234H, ABH, 00CDH, and 0H, respectively. Describe the results of
          executing the following sequence of instructions:
                                                   ADD AX, [SUM]
                                                   ADC BL, 05H
                                                   INC WORD PTR [SUM]
Ans. Executing the first instruction adds the word in the accumulator and the word in the
         memory location pointed to by address SUM. The result is placed in the
         accumulator. That is,
                           (AX) ← (AX) + (SUM) = 1234H + 00CDH = 1301H
         The carry flag remains reset.
The second instruction adds to the lower byte of the base register (BL) the immediate operand 5H and the carry flag, which is 0H. This gives
                           (BL) ← (BL) + imm8 + (CF) = ABH + 5H+ 0H = B0H
Since no carry is generated CF remains reset.
The last instruction increments the contents of memory location SUM by one. That is,
                           (SUM) ← (SUM) + 1H = 00CDH + 1H =00CEH



Q11. The 2’s complement signed data contents of AL equal -1 and the contents of CL are
         -2. What result is produced in AX by executing the following instructions:
           i) MUL CL  ii) IMUL CL

Ans. As binary data, the contents of AL and CL are
                        (AL) = -1 (as 2’s complement) = 111111112 = FFH
                        (CL) = -2 (as 2’s complement) = 111111102 = FEH
        Executing the MUL instruction gives
                        (AX) = 111111112 * 111111102 = 11111101000000102
                                 = FD02H
        The second instruction multiplies the two numbers as signed numbers to generate
        the signed result. That is,
                        (AX) = -1H * -2H
                                 = 2H = 0002H

Q12. Explain different types of registers in 8086 microprocessor arch.
Ans. Most of the registers contain data/instruction offsets within 64 KB memory segment. There are four different 64 KB segments for instructions, stack, data and extra data. To specify where in 1 MB of processor memory these 4 segments are located the processor uses four segment registers:
Code segment (CS) is a 16-bit register containing address of 64 KB segment with processor instructions. The processor uses CS segment for all accesses to instructions referenced by instruction pointer (IP) register. CS register cannot be changed directly. The CS register is automatically updated during far jump, far call and far return instructions.
Stack segment (SS) is a 16-bit register containing address of 64KB segment with program stack. By default, the processor assumes that all data referenced by the stack pointer (SP) and base pointer (BP) registers is located in the stack segment. SS register can be changed directly using POP instruction.
Data segment (DS) is a 16-bit register containing address of 64KB segment with program data. By default, the processor assumes that all data referenced by general registers (AX, BX, CX, DX) and index register (SI, DI) is located in the data segment. DS register can be changed directly using POP and LDS instructions.
Extra segment (ES) is a 16-bit register containing address of 64KB segment, usually with program data. By default, the processor assumes that the DI register references the ES segment in string manipulation instructions. ES register can be changed directly using POP and LES instructions.
It is possible to change default segments used by general and index registers by prefixing instructions with a CS, SS, DS or ES prefix.
All general registers of the 8086 microprocessor can be used for arithmetic and logic operations. The general registers are:
Accumulator register consists of 2 8-bit registers AL and AH, which can be combined together and used as a 16-bit register AX. AL in this case contains the low-order byte of the word, and AH contains the high-order byte. Accumulator can be used for I/O operations and string manipulation.
Base register consists of 2 8-bit registers BL and BH, which can be combined together and used as a 16-bit register BX. BL in this case contains the low-order byte of the word, and BH contains the high-order byte. BX register usually contains a data pointer used for based, based indexed or register indirect addressing.
Count register consists of 2 8-bit registers CL and CH, which can be combined together and used as a 16-bit register CX. When combined, CL register contains the low-order byte of the word, and CH contains the high-order byte. Count register can be used as a counter in string manipulation and shift/rotate instructions.
Data register consists of 2 8-bit registers DL and DH, which can be combined together and used as a 16-bit register DX. When combined, DL register contains the low-order byte of the word, and DH contains the high-order byte. Data register can be used as a port number in I/O operations. In integer 32-bit multiply and divide instruction the DX register contains high-order word of the initial or resulting number.
The following registers are both general and index registers:
Stack Pointer (SP) is a 16-bit register pointing to program stack.
Base Pointer (BP) is a 16-bit register pointing to data in stack segment. BP register is usually used for based, based indexed or register indirect addressing.
Source Index (SI) is a 16-bit register. SI is used for indexed, based indexed and register indirect addressing, as well as a source data address in string manipulation instructions.
Destination Index (DI) is a 16-bit register. DI is used for indexed, based indexed and register indirect addressing, as well as a destination data address in string manipulation instructions.