Scripts_Markup Code Interview Questions
Questions Answers Views Company eMail

Write a program to reverse a number in python?

585

Write a python program to check common letters in two input strings?

606

What is the output when we execute list(“hello”)?

773

Write a python program to check if a number is a strong number?

601

What is the output, suppose list1 is [1, 3, 2], what is list1 * 2 ?

1148

Write a python program to check if a number is a prime number?

613

Write a python program to check if a number is a perfect number?

678

Write a python program to print table of a given number?

605

Write a python program to check if a number is an armstrong number?

592

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

634

Write a python program to check if a string is a palindrome or not?

656

How do you set a global variable inside a function?

582

Write a program to find sum of the digits of a number in python?

631

Write a python program to count the number of vowels in a string?

637

Write a python program to check if a number is a palindrome or not?

591


Un-Answered Questions { Scripts_Markup Code }

Write a python program to check if a string is a palindrome or not?

656


How to store the iterations value in some variable/ in excel? Dim objExcel, ObjFolder, objPath, objWorkbook, objSheet, ObjFSo, ObjFolderName, strExcelPath Const xlExcel7 = 39 ObjFolderName = "Testing" & Hour(time()) & Minute(time()) &Second(time()) objPath = "D:\" strExcelPath = objPath & ObjFolderName & "\testing.xls" Set ObjFSo = CreateObject("Scripting.FileSystemObject") Set objFolder = objFSO.CreateFolder(objPath & ObjFolderName) On Error Resume Next Set objExcel = CreateObject("Excel.Application") If (Err.Number <> 0) Then On Error GoTo 0 Wscript.Echo "Excel application not found." Wscript.Quit End If On Error GoTo 0 Set objWorkbook = objExcel.Workbooks.Add() Set objSheet = objExcel.ActiveWorkbook.Worksheets(1) Dim arr1, arr2, arr3 Set outputLines = CreateObject ("System.Collections.ArrayList") arr1 = 123arr2 = 99 arr3 = 10 outputLines.Add arr1 outputLines.Add arr2 outputLines.Add arr3 outputLines.Sort() For Each outputLine in outputLines WScript.Echo outputLine ' how to store this value in excel/ variable? Next objExcel.ActiveWorkbook.SaveAs strExcelPath, xlExcel7 objExcel.ActiveWorkbook.Close objExcel.Application.Quit This above code is working fine but the qs is is there any way to store the sort data in variables / in the excel and how?

2603


Code for Adding Scripting Support to an Application?

1380


What is a well formed XML document?

427


I have a doubt regarding including tags in a function. I have written a function in javascript in a html page. The function got called by clicking a button, i want to display the results in same html page by placing tags in the function. (this hmtl page is static page) Is this possible? example: