Scripts_Markup Code Interview Questions
Questions Answers Views Company eMail

i have some csv files in a directory which have sub-directories also. now how can i merge all .csv files in to one with a single header. for example: have some 4 files. 1.csv--------name,age,sal abc,25,4000 2.csv--------name,age,sal vgd,32,3500 3.csv--------name,age,sal hfg,20,5000 4.csv--------name,age,sal asd,15,2000 now my output file should be like 5.csv----------name,age,sal abc,25,4000 vgd,32,3500 hfg,20,5000 asd,15,2000 and please explain the code for me. as i am new to scripting. thank you in advance

Tech Mahindra,

1397

write a vb script to check equal two 2*2 matrix

1025

What is an attribute?

351

How can you apply a DTD to an XML document?

353

What is XML DOM?

386

What is XQuery?

353

What is the meaning of version in XML?

377

What are the basic rules while writing XML?

312

What is well formed XML document?

345

What is XSL?

329

What is XPath in XML?

356

What are nested elements in XML?

339

What is CDATA?

348

What is an XML Schema?

369

What are the features of XML?

352


Un-Answered Questions { Scripts_Markup Code }

how to use the GetTickCount() properly and what is that procedure for?

2720


Write a python program to find the second largest number in a list?

465


code to get the coordinates of a Click Event

1723


how to pass data between pages using Frames

2128


Given a string=”me,I,myself”; .Using javascript only create an array out of this string and then send a POST request to the url “record.php” without reloading the page. The post key parameters should be n1,n2 and n3 respectively.

2341






write a vb script to check equal two 2*2 matrix

1025


How can i know that how many user are visited to my page in php?

1596


Write a function that takes an integer and returns the smallest number that is greater than the given number which is a palendrome. For example, if the input was 111 the next palindromic number would be 121.

1386


code to positioning of window in certain dimensions

1646


What is a cdata section in xml?

318


program to bring a window to the front

1546


Why XML has been used for development?

311


Can you write a program to find the average of numbers in a list in python?

451


What is XSL?

329


Write a function that takes an array of integers and returns that array rotated by N positions. For example, if N=2, given the input array [1, 2, 3, 4, 5, 6] the function should return [5, 6, 1, 2, 3, 4]

1831